Nadeem005 commited on
Commit
aa387d7
·
verified ·
1 Parent(s): 5a6c80e

Update app.py

Browse files

upload app script

Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -41,9 +41,10 @@ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
41
  .gradio-container { background-color: #1f2937; border-radius: 15px !important; }
42
 
43
  /* --- Input component labels (e.g., "Age", "Sex") --- */
44
- .gradio-input label {
45
- color: #f97316 !important; /* <<< THIS LINE WAS CHANGED TO ORANGE */
46
- font-weight: bold;
 
47
  font-size: 1.1em !important;
48
  }
49
 
@@ -117,6 +118,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css) as demo:
117
 
118
  # --- 6. Launch the App ---
119
  demo.launch(share=True)
 
120
 
121
 
122
 
 
41
  .gradio-container { background-color: #1f2937; border-radius: 15px !important; }
42
 
43
  /* --- Input component labels (e.g., "Age", "Sex") --- */
44
+ /* <<< THIS IS THE CORRECTED AND MORE SPECIFIC SELECTOR FOR THE LABELS --- */
45
+ .gradio-form > div > .label {
46
+ color: #f97316 !important; /* Orange color for feature labels */
47
+ font-weight: bold !important;
48
  font-size: 1.1em !important;
49
  }
50
 
 
118
 
119
  # --- 6. Launch the App ---
120
  demo.launch(share=True)
121
+
122
 
123
 
124