seawolf2357 commited on
Commit
4821c8a
·
verified ·
1 Parent(s): 7a27471

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def respond(message, history: list[tuple[str, str]], system_message, max_tokens,
32
 
33
  chatbot = gr.Chatbot(height=600)
34
 
35
- demo = gr.Interface(
36
  fn=respond,
37
  inputs=[
38
  gr.Textbox(label="Your Message"),
 
32
 
33
  chatbot = gr.Chatbot(height=600)
34
 
35
+ demo = gr.ChatInterface(
36
  fn=respond,
37
  inputs=[
38
  gr.Textbox(label="Your Message"),