Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,9 +54,9 @@ def respond(
|
|
54 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
55 |
"""
|
56 |
demo = gr.ChatInterface(
|
57 |
-
respond,
|
58 |
-
value=[
|
59 |
-
"nutrition, and healthy eating habits. Let's explore your questions."]
|
60 |
# additional_inputs=[
|
61 |
# gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
62 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
54 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
55 |
"""
|
56 |
demo = gr.ChatInterface(
|
57 |
+
fn=respond,
|
58 |
+
chatbot=gr.Chatbot(value=[(None, "Hi there! I'm your Dietician Assistant, here to help you with general advice on diet, "
|
59 |
+
"nutrition, and healthy eating habits. Let's explore your questions.")],),)
|
60 |
# additional_inputs=[
|
61 |
# gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
62 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|