DreamStream-1 commited on
Commit
0948d56
·
verified ·
1 Parent(s): 8c6c171

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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: none; /* Remove underline */
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="Please Enter Which Health Professional You Want To Search 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=False)
401
- sentiment = gr.Textbox(label="Detected Sentiment", show_label=False)
402
- emotion = gr.Textbox(label="Detected Emotion", show_label=False)
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"])