peterpull commited on
Commit
d97a1ba
·
1 Parent(s): 87c4be3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -35,10 +35,10 @@ def chatbot(input_text, mentioned_person='Mediator John Haynes'):
35
 
36
  print('hello there!!!')
37
 
38
- iface = gr.Interface(chatbot,
39
- input='text',
40
- output='text',
41
- title="AI Chatbot",
42
- description="Enter your question and the chatbot will respond.")
43
  iface.launch()
44
 
 
35
 
36
  print('hello there!!!')
37
 
38
+ iface = gr.Interface(fn=chatbot,
39
+ inputs=gr.inputs.Textbox("Enter your question"),
40
+ outputs="text",
41
+ title="AI Chatbot trained on J. Haynes mediation material, v0.1",
42
+ description="test")
43
  iface.launch()
44