apahilaj commited on
Commit
11c767d
1 Parent(s): b4b5a4d

app.py chat2

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,5 +170,5 @@ def greet(messages):
170
  else:
171
  return [{"role": "assistant", "content": "No helpful answer found."}]
172
 
173
- iface = gr.ChatInterface(fn=greet, inputs=gr.Textbox(), outputs=gr.ChatResponse(continuous_update=True))
174
  iface.launch(share=True)
 
170
  else:
171
  return [{"role": "assistant", "content": "No helpful answer found."}]
172
 
173
+ iface = gr.ChatInterface(greet)
174
  iface.launch(share=True)