Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -474,9 +474,9 @@ with gr.Blocks(css="""
|
|
| 474 |
margin-bottom: 20px;
|
| 475 |
}
|
| 476 |
|
| 477 |
-
|
| 478 |
-
background-color: #ffffff; /*
|
| 479 |
-
color: #000000; /*
|
| 480 |
padding: 10px;
|
| 481 |
border-radius: 5px;
|
| 482 |
}
|
|
@@ -587,7 +587,7 @@ with gr.Blocks(css="""
|
|
| 587 |
with gr.Row():
|
| 588 |
raw_img_los = gr.Image(label="Raw Channels", type="pil", width=300, height=300)
|
| 589 |
embeddings_img_los = gr.Image(label="Embeddings", type="pil", width=300, height=300)
|
| 590 |
-
output_textbox = gr.Textbox(label="Console Output", lines=10,
|
| 591 |
|
| 592 |
# Update the file uploader visibility based on user choice
|
| 593 |
def toggle_file_input(choice):
|
|
|
|
| 474 |
margin-bottom: 20px;
|
| 475 |
}
|
| 476 |
|
| 477 |
+
#console-output {
|
| 478 |
+
background-color: #ffffff; /* Light background for light mode */
|
| 479 |
+
color: #000000; /* Dark text color for contrast */
|
| 480 |
padding: 10px;
|
| 481 |
border-radius: 5px;
|
| 482 |
}
|
|
|
|
| 587 |
with gr.Row():
|
| 588 |
raw_img_los = gr.Image(label="Raw Channels", type="pil", width=300, height=300)
|
| 589 |
embeddings_img_los = gr.Image(label="Embeddings", type="pil", width=300, height=300)
|
| 590 |
+
output_textbox = gr.Textbox(label="Console Output", lines=10, elem_id="console-output")
|
| 591 |
|
| 592 |
# Update the file uploader visibility based on user choice
|
| 593 |
def toggle_file_input(choice):
|