Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def generate_text(prompt):
|
|
34 |
logger.info("Generating text...")
|
35 |
outputs = model.generate(
|
36 |
inputs['input_ids'],
|
37 |
-
max_length=
|
38 |
attention_mask=inputs['attention_mask'],
|
39 |
do_sample=True,
|
40 |
temperature=0.7,
|
|
|
34 |
logger.info("Generating text...")
|
35 |
outputs = model.generate(
|
36 |
inputs['input_ids'],
|
37 |
+
max_length=190,
|
38 |
attention_mask=inputs['attention_mask'],
|
39 |
do_sample=True,
|
40 |
temperature=0.7,
|