Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -300,7 +300,7 @@ with gr.Blocks(js=js) as app:
|
|
| 300 |
query = gr.Textbox(label="Search Health Professionals Nearby", placeholder="E.g., Health Professionals", max_lines=1)
|
| 301 |
|
| 302 |
with gr.Row(): # Align Submit and Clear buttons side by side
|
| 303 |
-
submit_chatbot = gr.Button(value="Submit Your Message", variant="primary"
|
| 304 |
clear_chatbot = gr.Button(value="Clear", variant="secondary") # Clear button
|
| 305 |
|
| 306 |
chatbot = gr.Chatbot(label="Chat History", show_label=True)
|
|
@@ -334,7 +334,7 @@ with gr.Blocks(js=js) as app:
|
|
| 334 |
symptom4 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 4", value=None)
|
| 335 |
symptom5 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 5", value=None)
|
| 336 |
|
| 337 |
-
submit_disease = gr.Button(value="Predict Disease", variant="primary"
|
| 338 |
|
| 339 |
disease_prediction_result = gr.Markdown(label="Predicted Diseases")
|
| 340 |
|
|
|
|
| 300 |
query = gr.Textbox(label="Search Health Professionals Nearby", placeholder="E.g., Health Professionals", max_lines=1)
|
| 301 |
|
| 302 |
with gr.Row(): # Align Submit and Clear buttons side by side
|
| 303 |
+
submit_chatbot = gr.Button(value="Submit Your Message", variant="primary")
|
| 304 |
clear_chatbot = gr.Button(value="Clear", variant="secondary") # Clear button
|
| 305 |
|
| 306 |
chatbot = gr.Chatbot(label="Chat History", show_label=True)
|
|
|
|
| 334 |
symptom4 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 4", value=None)
|
| 335 |
symptom5 = gr.Dropdown(choices=[None] + list(X_train.columns), label="Select Symptom 5", value=None)
|
| 336 |
|
| 337 |
+
submit_disease = gr.Button(value="Predict Disease", variant="primary")
|
| 338 |
|
| 339 |
disease_prediction_result = gr.Markdown(label="Predicted Diseases")
|
| 340 |
|