Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,10 +53,8 @@ def respond(
|
|
53 |
"""
|
54 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
55 |
"""
|
56 |
-
demo = gr.
|
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"),
|
|
|
53 |
"""
|
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 |
# additional_inputs=[
|
59 |
# gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
60 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|