Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def yes_man(message, history):
|
|
| 13 |
response = requests.post(API_URL, headers=headers, json=payload)
|
| 14 |
return response.json()
|
| 15 |
data = query({"inputs": message})
|
| 16 |
-
|
| 17 |
gr.ChatInterface(
|
| 18 |
yes_man,
|
| 19 |
chatbot=gr.Chatbot(height=300),
|
|
|
|
| 13 |
response = requests.post(API_URL, headers=headers, json=payload)
|
| 14 |
return response.json()
|
| 15 |
data = query({"inputs": message})
|
| 16 |
+
return data
|
| 17 |
gr.ChatInterface(
|
| 18 |
yes_man,
|
| 19 |
chatbot=gr.Chatbot(height=300),
|