wi-lab commited on
Commit
cbea7da
·
verified ·
1 Parent(s): b19fbcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -474,9 +474,9 @@ with gr.Blocks(css="""
474
  margin-bottom: 20px;
475
  }
476
 
477
- .console-output {
478
- background-color: #ffffff; /* Ensure it's visible in light mode */
479
- color: #000000; /* Text in dark color for better contrast */
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, css_classes=["console-output"])
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):