BhumikaMak commited on
Commit
bd99284
·
1 Parent(s): b5afdc4

Update: interface font update

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,15 +51,15 @@ with gr.Blocks() as interface:
51
  gr.Markdown("<span style='color:white'>Select a sample image to visualize object detection.</span>")
52
  default_sample = "Sample 1"
53
 
54
- # Inject CSS with gr.HTML to set the text color to red
55
  gr.HTML("""
56
  <style>
57
  body {
58
  background-color: black;
59
- color: red; /* Set text color to red */
60
  }
61
  .gradio-container {
62
- color: red; /* Ensure Gradio components also have red text */
63
  }
64
  </style>
65
  """)
 
51
  gr.Markdown("<span style='color:white'>Select a sample image to visualize object detection.</span>")
52
  default_sample = "Sample 1"
53
 
54
+ # Inject CSS with gr.HTML to set the text color to white
55
  gr.HTML("""
56
  <style>
57
  body {
58
  background-color: black;
59
+ color: white; /* Set text color to white */
60
  }
61
  .gradio-container {
62
+ color: white; /* Ensure Gradio components also have white text */
63
  }
64
  </style>
65
  """)