Spaces:
Paused
Paused
CryptoCreeper commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def enhance_prompt(user_prompt: str) -> str:
|
|
| 35 |
inputs = tokenizer(instruction, return_tensors="pt")
|
| 36 |
outputs = text_model.generate(
|
| 37 |
**inputs,
|
| 38 |
-
max_new_tokens=
|
| 39 |
temperature=0.6,
|
| 40 |
do_sample=True,
|
| 41 |
)
|
|
|
|
| 35 |
inputs = tokenizer(instruction, return_tensors="pt")
|
| 36 |
outputs = text_model.generate(
|
| 37 |
**inputs,
|
| 38 |
+
max_new_tokens=500,
|
| 39 |
temperature=0.6,
|
| 40 |
do_sample=True,
|
| 41 |
)
|