Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,7 +81,8 @@ def infer_text(history, system_text=""):
|
|
| 81 |
system_text=system_text,
|
| 82 |
temperature=0.7,
|
| 83 |
top_p=0.9,
|
| 84 |
-
max_new=
|
|
|
|
| 85 |
)
|
| 86 |
|
| 87 |
gen_cfg = GenerationConfig(**gen_cfg_kwargs)
|
|
|
|
| 81 |
system_text=system_text,
|
| 82 |
temperature=0.7,
|
| 83 |
top_p=0.9,
|
| 84 |
+
max_new=512,
|
| 85 |
+
max_new=128,
|
| 86 |
)
|
| 87 |
|
| 88 |
gen_cfg = GenerationConfig(**gen_cfg_kwargs)
|