Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
41 |
-
outputs=gradio.outputs.Textbox(
|
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=4, label="Enter your question here"),
|
41 |
+
outputs=gradio.outputs.Textbox(label="Generated Text"),
|
42 |
title="My Custom-trained AI Chatbot")
|
43 |
|
44 |
#Constructing indexes based on the documents in trainingData folder
|