WICKED4950 commited on
Commit
995cb38
·
verified ·
1 Parent(s): 49fde17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -54,12 +54,11 @@ def predict(user_input):
54
  # Gradio interface
55
  gr.Interface(
56
  fn=predict,
57
- inputs=gr.Textbox(label="Ask Esther anything!"),
58
- outputs=gr.Textbox(label="Esther's Response"),
59
  examples=[
60
- ["What should I do if I'm feeling down?"],
61
- ["How do I deal with stress?"],
62
- ["Tell me something positive!"]
63
  ],
64
  description="A chatbot trained to provide friendly and comforting responses. Type your question below and let Esther help!",
65
  title="Esther - Your Friendly Mental Health Chatbot",
 
54
  # Gradio interface
55
  gr.Interface(
56
  fn=predict,
57
+ inputs=gr.Textbox(label="Ask anything!"),
58
+ outputs=gr.Textbox(label="Response"),
59
  examples=[
60
+ ["Hey! What is your name?"],
61
+ ["Who created you? And why?"],
 
62
  ],
63
  description="A chatbot trained to provide friendly and comforting responses. Type your question below and let Esther help!",
64
  title="Esther - Your Friendly Mental Health Chatbot",