Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,12 +34,6 @@ def chatbot(input_text, mentioned_person='Mediator John Haynes'):
|
|
| 34 |
return response.response
|
| 35 |
|
| 36 |
|
| 37 |
-
iface = gr.Interface(fn=chatbot,
|
| 38 |
-
inputs=gr.inputs.Textbox(lines=5, label="Enter your question"),
|
| 39 |
-
outputs=gr.outputs.Textbox(label="Chatbot Response"),
|
| 40 |
-
title="AI Chatbot trained on J. Haynes mediation material, v0.1",
|
| 41 |
-
description="test")
|
| 42 |
-
|
| 43 |
iface = gr.Interface(fn=chat,
|
| 44 |
inputs=["Enter your question"],
|
| 45 |
outputs=["Chatbot reponse"],
|
|
|
|
| 34 |
return response.response
|
| 35 |
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
iface = gr.Interface(fn=chat,
|
| 38 |
inputs=["Enter your question"],
|
| 39 |
outputs=["Chatbot reponse"],
|