Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
58 |
-
outputs=gr.Textbox(label="
|
59 |
examples=[
|
60 |
-
["What
|
61 |
-
["
|
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",
|