Spaces:
Runtime error
Runtime error
Commit
·
ed93c41
1
Parent(s):
032437b
Update app.py
Browse files
app.py
CHANGED
@@ -14,10 +14,10 @@ def text_generate(prompt, generated_txt):
|
|
14 |
json_ = {"inputs": prompt,
|
15 |
"parameters":
|
16 |
{
|
17 |
-
"top_p": 0.
|
18 |
"top_k": 100,
|
19 |
"temperature": 1.0,
|
20 |
-
"max_new_tokens":
|
21 |
"return_full_text": True,
|
22 |
"do_sample":True,
|
23 |
},
|
|
|
14 |
json_ = {"inputs": prompt,
|
15 |
"parameters":
|
16 |
{
|
17 |
+
"top_p": 0.5,
|
18 |
"top_k": 100,
|
19 |
"temperature": 1.0,
|
20 |
+
"max_new_tokens": 512,
|
21 |
"return_full_text": True,
|
22 |
"do_sample":True,
|
23 |
},
|