Update app.py
Browse files
app.py
CHANGED
@@ -44,11 +44,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
44 |
"""
|
45 |
demo = gr.ChatInterface(
|
46 |
respond,
|
47 |
-
|
48 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
49 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
50 |
-
|
51 |
-
]
|
52 |
)
|
53 |
|
54 |
|
|
|
44 |
"""
|
45 |
demo = gr.ChatInterface(
|
46 |
respond,
|
47 |
+
additional_inputs=[
|
48 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
49 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
50 |
+
],
|
|
|
51 |
)
|
52 |
|
53 |
|