Mahmoud Amiri commited on
Commit
423435a
·
1 Parent(s): 826d17a

Fix ChatInterface type

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -39,6 +39,7 @@ chatbot = gr.ChatInterface(
39
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
40
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p"),
41
  ],
 
42
  )
43
 
44
  demo = gr.Blocks()
 
39
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
40
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p"),
41
  ],
42
+ type="messages",
43
  )
44
 
45
  demo = gr.Blocks()