Spaces:
Sleeping
Sleeping
Commit ·
66ce9ad
1
Parent(s): 21a5b29
max_new_token
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def respond(
|
|
| 26 |
|
| 27 |
for message in client.text_generation(
|
| 28 |
messages,
|
| 29 |
-
|
| 30 |
stream=True,
|
| 31 |
temperature=temperature,
|
| 32 |
top_p=top_p,
|
|
|
|
| 26 |
|
| 27 |
for message in client.text_generation(
|
| 28 |
messages,
|
| 29 |
+
max_new_tokens=max_tokens,
|
| 30 |
stream=True,
|
| 31 |
temperature=temperature,
|
| 32 |
top_p=top_p,
|