DreamStream-1 commited on
Commit
3ce3b6a
·
verified ·
1 Parent(s): fc61204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -258,6 +258,7 @@ def predict_disease(symptoms):
258
 
259
  return "\n".join(markdown_output)
260
 
 
261
  # Gradio Application Interface
262
  with gr.Blocks() as app:
263
  gr.HTML("<h1>🌟 Well-Being Companion</h1>")
@@ -270,7 +271,7 @@ with gr.Blocks() as app:
270
 
271
  theme_dropdown = gr.Dropdown(choices=themes, label="Select Theme")
272
 
273
- toggle_dark = gr.Button(value="Toggle Dark").style(full_width=True)
274
 
275
  # Theme changing logic
276
  theme_dropdown.change(
 
258
 
259
  return "\n".join(markdown_output)
260
 
261
+ # Gradio Application Interface
262
  # Gradio Application Interface
263
  with gr.Blocks() as app:
264
  gr.HTML("<h1>🌟 Well-Being Companion</h1>")
 
271
 
272
  theme_dropdown = gr.Dropdown(choices=themes, label="Select Theme")
273
 
274
+ toggle_dark = gr.Button(value="Toggle Dark", scale=1) # Updated to use scale instead of style
275
 
276
  # Theme changing logic
277
  theme_dropdown.change(