Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -289,7 +289,7 @@ button[role="tab"] {
|
|
| 289 |
padding: 10px 15px; /* Padding for buttons */
|
| 290 |
font-size: 1.2rem; /* Font size for tab buttons */
|
| 291 |
cursor: pointer; /* Pointer on hover */
|
| 292 |
-
text-decoration:
|
| 293 |
}
|
| 294 |
|
| 295 |
button[role="tab"]:hover {
|
|
@@ -393,13 +393,13 @@ with gr.Blocks(css=custom_css) as app:
|
|
| 393 |
with gr.Row():
|
| 394 |
user_input = gr.Textbox(label="Please Enter Your Message Here", placeholder="Type your message here...", max_lines=3)
|
| 395 |
location = gr.Textbox(label="Please Enter Your Current Location Here", placeholder="E.g., Honolulu", max_lines=1)
|
| 396 |
-
query = gr.Textbox(label="
|
| 397 |
|
| 398 |
submit_chatbot = gr.Button(value="Submit Your Message", variant="primary", icon="fa-paper-plane")
|
| 399 |
|
| 400 |
-
chatbot = gr.Chatbot(label="Chat History", show_label=
|
| 401 |
-
sentiment = gr.Textbox(label="Detected Sentiment", show_label=
|
| 402 |
-
emotion = gr.Textbox(label="Detected Emotion", show_label=
|
| 403 |
|
| 404 |
suggestions_markdown = gr.Markdown(label="Suggestions")
|
| 405 |
professionals = gr.DataFrame(label="Nearby Health Professionals", headers=["Name", "Address"])
|
|
|
|
| 289 |
padding: 10px 15px; /* Padding for buttons */
|
| 290 |
font-size: 1.2rem; /* Font size for tab buttons */
|
| 291 |
cursor: pointer; /* Pointer on hover */
|
| 292 |
+
text-decoration: underline;
|
| 293 |
}
|
| 294 |
|
| 295 |
button[role="tab"]:hover {
|
|
|
|
| 393 |
with gr.Row():
|
| 394 |
user_input = gr.Textbox(label="Please Enter Your Message Here", placeholder="Type your message here...", max_lines=3)
|
| 395 |
location = gr.Textbox(label="Please Enter Your Current Location Here", placeholder="E.g., Honolulu", max_lines=1)
|
| 396 |
+
query = gr.Textbox(label="Search Health Professionals Nearby", placeholder="E.g., Health Professionals", max_lines=1)
|
| 397 |
|
| 398 |
submit_chatbot = gr.Button(value="Submit Your Message", variant="primary", icon="fa-paper-plane")
|
| 399 |
|
| 400 |
+
chatbot = gr.Chatbot(label="Chat History", show_label=True)
|
| 401 |
+
sentiment = gr.Textbox(label="Detected Sentiment", show_label=True)
|
| 402 |
+
emotion = gr.Textbox(label="Detected Emotion", show_label=True)
|
| 403 |
|
| 404 |
suggestions_markdown = gr.Markdown(label="Suggestions")
|
| 405 |
professionals = gr.DataFrame(label="Nearby Health Professionals", headers=["Name", "Address"])
|