BhumikaMak commited on
Commit
61808ed
·
1 Parent(s): 762717a

Update: font styling

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -47,25 +47,25 @@ def process_image(sample_choice, uploaded_image, yolo_versions=["yolov5"]):
47
  return result_images
48
 
49
  with gr.Blocks() as interface:
50
- # Update CSS to make text white
51
  gr.HTML("""
52
  <style>
53
  body {
54
  background-color: black;
55
- color: white; /* Set the default text color */
56
  }
57
  .gradio-container {
58
- color: white; /* Ensure Gradio components also have white text */
59
  }
60
  h1, h2, h3, h4, h5, h6, p, label {
61
- color: white; /* Make all headings and labels white */
62
  }
63
  .gr-markdown {
64
- color: white; /* Ensure Markdown text is white */
65
  }
66
  .gr-button {
67
  background-color: #007bff; /* Optional: Change button background color */
68
- color: white; /* Ensure button text is white */
69
  }
70
  .gr-button:hover {
71
  background-color: #0056b3; /* Optional: Change button hover color */
 
47
  return result_images
48
 
49
  with gr.Blocks() as interface:
50
+ # Update CSS to make text light grey
51
  gr.HTML("""
52
  <style>
53
  body {
54
  background-color: black;
55
+ color: #D3D3D3; /* Set the default text color to light grey */
56
  }
57
  .gradio-container {
58
+ color: #D3D3D3; /* Ensure Gradio components also have light grey text */
59
  }
60
  h1, h2, h3, h4, h5, h6, p, label {
61
+ color: #D3D3D3; /* Make all headings and labels light grey */
62
  }
63
  .gr-markdown {
64
+ color: #D3D3D3; /* Ensure Markdown text is light grey */
65
  }
66
  .gr-button {
67
  background-color: #007bff; /* Optional: Change button background color */
68
+ color: #D3D3D3; /* Ensure button text is light grey */
69
  }
70
  .gr-button:hover {
71
  background-color: #0056b3; /* Optional: Change button hover color */