Spaces:
Runtime error
Runtime error
Commit
·
2df6331
1
Parent(s):
ed93c41
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,8 @@ def text_generate(prompt, generated_txt):
|
|
15 |
"parameters":
|
16 |
{
|
17 |
"top_p": 0.5,
|
18 |
-
"top_k": 100,
|
19 |
"temperature": 1.0,
|
20 |
-
"max_new_tokens":
|
21 |
"return_full_text": True,
|
22 |
"do_sample":True,
|
23 |
},
|
|
|
15 |
"parameters":
|
16 |
{
|
17 |
"top_p": 0.5,
|
|
|
18 |
"temperature": 1.0,
|
19 |
+
"max_new_tokens": 256,
|
20 |
"return_full_text": True,
|
21 |
"do_sample":True,
|
22 |
},
|