Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,12 +48,12 @@ def chatbot(input, history):
|
|
| 48 |
raise Exception(str(e))
|
| 49 |
|
| 50 |
# Define the Gradio chat interface
|
| 51 |
-
def gradio_chat(input
|
| 52 |
-
response = chatbot(input
|
| 53 |
return response
|
| 54 |
|
| 55 |
# Define Gradio inputs and outputs
|
| 56 |
-
inputs = [gr.Textbox(lines=5, label="Input")
|
| 57 |
output = gr.Textbox(label="Response")
|
| 58 |
|
| 59 |
# Create Gradio interface
|
|
|
|
| 48 |
raise Exception(str(e))
|
| 49 |
|
| 50 |
# Define the Gradio chat interface
|
| 51 |
+
def gradio_chat(input):
|
| 52 |
+
response = chatbot(input)
|
| 53 |
return response
|
| 54 |
|
| 55 |
# Define Gradio inputs and outputs
|
| 56 |
+
inputs = [gr.Textbox(lines=5, label="Input")]
|
| 57 |
output = gr.Textbox(label="Response")
|
| 58 |
|
| 59 |
# Create Gradio interface
|