Spaces:
Sleeping
Sleeping
Commit ·
a9c0f1d
1
Parent(s): 648dc4e
Comment out the 'type' parameter in ChatInterface initialization
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 45 |
"""
|
| 46 |
chatbot = gr.ChatInterface(
|
| 47 |
respond,
|
| 48 |
-
type="messages",
|
| 49 |
additional_inputs=[
|
| 50 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 51 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 45 |
"""
|
| 46 |
chatbot = gr.ChatInterface(
|
| 47 |
respond,
|
| 48 |
+
# type="messages",
|
| 49 |
additional_inputs=[
|
| 50 |
gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 51 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|