kdevoe commited on
Commit
6848d2f
·
verified ·
1 Parent(s): 00de14a

Fixing chat interface input position errors

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"),