Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,10 +20,9 @@ async def home():
|
|
| 20 |
async def chat(message: Message):
|
| 21 |
try:
|
| 22 |
input_message = message.input
|
| 23 |
-
history = message.history
|
| 24 |
|
| 25 |
# Call the chatbot function
|
| 26 |
-
response = chatbot(input_message
|
| 27 |
|
| 28 |
return {"response": response}
|
| 29 |
|
|
|
|
| 20 |
async def chat(message: Message):
|
| 21 |
try:
|
| 22 |
input_message = message.input
|
|
|
|
| 23 |
|
| 24 |
# Call the chatbot function
|
| 25 |
+
response = chatbot(input_message)
|
| 26 |
|
| 27 |
return {"response": response}
|
| 28 |
|