Spaces:
Runtime error
Runtime error
update max_new_tokens
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def meme_generate(img, prompt, temp, top_p): #prompt, generated_txt): #, input_p
|
|
54 |
"parameters":
|
55 |
{
|
56 |
"top_p": top_p, #0.90 default
|
57 |
-
"max_new_tokens":
|
58 |
"temperature": temp, #1.1 default
|
59 |
"return_full_text": True,
|
60 |
"do_sample": True,
|
|
|
54 |
"parameters":
|
55 |
{
|
56 |
"top_p": top_p, #0.90 default
|
57 |
+
"max_new_tokens": 64,
|
58 |
"temperature": temp, #1.1 default
|
59 |
"return_full_text": True,
|
60 |
"do_sample": True,
|