Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,6 +55,11 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 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"),
|
|
|
|
| 55 |
"""
|
| 56 |
demo = gr.ChatInterface(
|
| 57 |
fn=respond,
|
| 58 |
+
chatbot=gr.Chatbot(
|
| 59 |
+
value=[["Hi", "Hi there! I'm your Dietician Assistant, here to help with general advice on diet, nutrition, and healthy eating habits. Let's explore your questions."]],
|
| 60 |
+
#avatar_images=["user.jpg", "chatbot.png"],
|
| 61 |
+
#height="64vh"
|
| 62 |
+
),
|
| 63 |
# additional_inputs=[
|
| 64 |
# gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 65 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|