Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
title="AI Chatbot
|
| 41 |
-
description="
|
| 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 |
|