peterpull commited on
Commit
892f100
·
1 Parent(s): 793cfff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,9 +34,9 @@ def chatbot(input_text, mentioned_person='Mediator John Haynes'):
34
  return response.response
35
 
36
 
37
- iface = gr.Interface(chatbot,
38
- "textbox",
39
- "textbox",
40
  title="AI Chatbot",
41
  description="Enter your question and the chatbot will respond.")
42
  iface.launch()
 
34
  return response.response
35
 
36
 
37
+ iface = gr.Interface(fn=chatbot,
38
+ input='text',
39
+ output='text',
40
  title="AI Chatbot",
41
  description="Enter your question and the chatbot will respond.")
42
  iface.launch()