Fixing chat interface input position errors
Browse files
app.py
CHANGED
|
@@ -57,8 +57,8 @@ def respond(
|
|
| 57 |
|
| 58 |
# Define the Gradio interface
|
| 59 |
demo = gr.ChatInterface(
|
| 60 |
-
type='messages',
|
| 61 |
respond,
|
|
|
|
| 62 |
additional_inputs=[
|
| 63 |
gr.Dropdown(choices=["DialoGPT-med-FT", "DialoGPT-medium"], value="DialoGPT-med-FT", label="Model"),
|
| 64 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 57 |
|
| 58 |
# Define the Gradio interface
|
| 59 |
demo = gr.ChatInterface(
|
|
|
|
| 60 |
respond,
|
| 61 |
+
type='messages',
|
| 62 |
additional_inputs=[
|
| 63 |
gr.Dropdown(choices=["DialoGPT-med-FT", "DialoGPT-medium"], value="DialoGPT-med-FT", label="Model"),
|
| 64 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|