peterpull commited on
Commit
415c362
·
1 Parent(s): 37992d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -34,10 +34,10 @@ def chatbot(input_text, mentioned_person='Mediator John Haynes'):
34
  return response.response
35
 
36
 
37
- iface = gr.Interface(fn=chatbot,
38
- inputs=["Enter your question"],
39
- outputs=["Chatbot reponse"],
40
- title="AI Chatbot trained on J. Haynes mediation material, v0.1",
41
- description="test")
42
  iface.launch()
43
 
 
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()
43