Moha782 commited on
Commit
6a0b151
·
verified ·
1 Parent(s): cab9ecc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ async def respond(message, history, system_message, max_tokens, temperature, top
78
  token = message.choices[0].delta.content
79
  yield token
80
 
81
- demo = gr.Interface(
82
  fn=respond,
83
  inputs=[
84
  gr.Textbox(
 
78
  token = message.choices[0].delta.content
79
  yield token
80
 
81
+ demo = gr.ChatInterface(
82
  fn=respond,
83
  inputs=[
84
  gr.Textbox(