Spaces:
Sleeping
Sleeping
Commit ·
c572817
1
Parent(s): ac30b3e
commit 00000006
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def generate_full_reply(message, history):
|
|
| 98 |
return reply.strip()
|
| 99 |
|
| 100 |
# ✅ Flask streaming endpoint
|
| 101 |
-
@
|
| 102 |
@swag_from({
|
| 103 |
'tags': ['Chat'],
|
| 104 |
'consumes': ['application/json'],
|
|
|
|
| 98 |
return reply.strip()
|
| 99 |
|
| 100 |
# ✅ Flask streaming endpoint
|
| 101 |
+
@app.route("/chat-stream", methods=["POST"])
|
| 102 |
@swag_from({
|
| 103 |
'tags': ['Chat'],
|
| 104 |
'consumes': ['application/json'],
|