Spaces:
Sleeping
Sleeping
cryptocalypse
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -373,10 +373,10 @@ def respond(
|
|
| 373 |
|
| 374 |
for message in client.chat_completion(
|
| 375 |
messages,
|
| 376 |
-
max_tokens=
|
| 377 |
stream=True,
|
| 378 |
-
temperature=
|
| 379 |
-
top_p=
|
| 380 |
):
|
| 381 |
token = message.choices[0].delta.content
|
| 382 |
|
|
|
|
| 373 |
|
| 374 |
for message in client.chat_completion(
|
| 375 |
messages,
|
| 376 |
+
max_tokens=512,
|
| 377 |
stream=True,
|
| 378 |
+
temperature=0.7,
|
| 379 |
+
top_p=0.95,
|
| 380 |
):
|
| 381 |
token = message.choices[0].delta.content
|
| 382 |
|