Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def user(user_message, history):
|
|
| 31 |
history = []
|
| 32 |
return "", history + [{"role": "user", "content": user_message}]
|
| 33 |
|
| 34 |
-
@spaces.GPU
|
| 35 |
def bot(history):
|
| 36 |
"""Yield the chatbot response for streaming."""
|
| 37 |
|
|
|
|
| 31 |
history = []
|
| 32 |
return "", history + [{"role": "user", "content": user_message}]
|
| 33 |
|
| 34 |
+
@spaces.GPU
|
| 35 |
def bot(history):
|
| 36 |
"""Yield the chatbot response for streaming."""
|
| 37 |
|