Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ input_ids = tokenizer.encode(input_text, return_tensors='pt')
|
|
66 |
# Generar texto utilizando la temperatura ajustada
|
67 |
outputs = model.generate(
|
68 |
input_ids,
|
69 |
-
max_length=
|
70 |
temperature=temperature, # Usar la temperatura ajustada
|
71 |
top_k=50,
|
72 |
top_p=0.9,
|
|
|
66 |
# Generar texto utilizando la temperatura ajustada
|
67 |
outputs = model.generate(
|
68 |
input_ids,
|
69 |
+
max_length=2000,
|
70 |
temperature=temperature, # Usar la temperatura ajustada
|
71 |
top_k=50,
|
72 |
top_p=0.9,
|