Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,8 +121,8 @@ def chatbot(input):
|
|
| 121 |
return str(e)
|
| 122 |
|
| 123 |
# Create a Gradio interface
|
| 124 |
-
inputs = gr.
|
| 125 |
-
outputs = gr.
|
| 126 |
header_message = "Ask anything about the following services: "+", ".join(df.index)
|
| 127 |
iface = gr.Interface(fn=chatbot,
|
| 128 |
inputs=inputs,
|
|
|
|
| 121 |
return str(e)
|
| 122 |
|
| 123 |
# Create a Gradio interface
|
| 124 |
+
inputs = gr.Textbox(lines=7, label="Chat with AI")
|
| 125 |
+
outputs = gr.Textbox(label="Reply")
|
| 126 |
header_message = "Ask anything about the following services: "+", ".join(df.index)
|
| 127 |
iface = gr.Interface(fn=chatbot,
|
| 128 |
inputs=inputs,
|