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