Saurabh46 commited on
Commit
9ca39db
·
1 Parent(s): d63e21e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ def chatbot(input_text):
37
 
38
  #Creating the web UIusing gradio
39
  iface = gradio.Interface(fn=chatbot,
40
- inputs=gradio.inputs.Textbox(lines=2, label="Enter your question here"),
41
- outputs="text",
42
  title="My Custom-trained AI Chatbot")
43
 
44
  #Constructing indexes based on the documents in trainingData folder
 
37
 
38
  #Creating the web UIusing gradio
39
  iface = gradio.Interface(fn=chatbot,
40
+ inputs=gradio.inputs.Textbox(lines=3, label="Enter your question here"),
41
+ outputs=gradio.outputs.Textbox(lines=5, label="Generated Text"),
42
  title="My Custom-trained AI Chatbot")
43
 
44
  #Constructing indexes based on the documents in trainingData folder