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