Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,8 +31,6 @@ def chat_stream(message, history):
|
|
| 31 |
temperature=1,
|
| 32 |
max_completion_tokens=1024,
|
| 33 |
top_p=1,
|
| 34 |
-
stream=True # ✅ streaming ON
|
| 35 |
-
# ❌ stop=None REMOVED (this caused the TypeError)
|
| 36 |
)
|
| 37 |
|
| 38 |
response = ""
|
|
|
|
| 31 |
temperature=1,
|
| 32 |
max_completion_tokens=1024,
|
| 33 |
top_p=1,
|
|
|
|
|
|
|
| 34 |
)
|
| 35 |
|
| 36 |
response = ""
|