Spaces:
Build error
Build error
Update app.py
Browse files
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")
|
| 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(
|