TS447 commited on
Commit
bc17174
·
verified ·
1 Parent(s): dc4fc93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -82,12 +82,13 @@ body, .gradio-container {
82
  margin-bottom: 30px;
83
  }
84
 
 
85
  .block, .svelte-12cmxck, .form {
86
  background: rgba(255,255,255,0.05) !important;
87
  border: 1px solid rgba(255,255,255,0.1) !important;
88
  border-radius: 16px !important;
89
  }
90
- label.svelte-1b8gl8r { color: #ccc !important; font-weight: bold; }
91
 
92
  .primary-btn {
93
  background: linear-gradient(90deg, #00dbde, #fc00ff) !important;
@@ -104,8 +105,9 @@ label.svelte-1b8gl8r { color: #ccc !important; font-weight: bold; }
104
  }
105
  """
106
 
107
- # --- 3. Interface ---
108
- with gr.Blocks(css=custom_css, theme=gr.themes.Base(mode='dark')) as app:
 
109
 
110
  with gr.Column(elem_id="main_card"):
111
  gr.Markdown("# TS", elem_id="logo_text")
 
82
  margin-bottom: 30px;
83
  }
84
 
85
+ /* Form Components Background */
86
  .block, .svelte-12cmxck, .form {
87
  background: rgba(255,255,255,0.05) !important;
88
  border: 1px solid rgba(255,255,255,0.1) !important;
89
  border-radius: 16px !important;
90
  }
91
+ label span { color: #ccc !important; font-weight: bold; }
92
 
93
  .primary-btn {
94
  background: linear-gradient(90deg, #00dbde, #fc00ff) !important;
 
105
  }
106
  """
107
 
108
+ # --- 3. Interface (Fixed Theme Line) ---
109
+ # Yahan se maine mode='dark' hata diya hai, ab error nahi aayega.
110
+ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as app:
111
 
112
  with gr.Column(elem_id="main_card"):
113
  gr.Markdown("# TS", elem_id="logo_text")