Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -61,9 +61,9 @@ def meme_generate(img): #prompt, generated_txt): #, input_prompt_sql ): #, input
|
|
61 |
|
62 |
json_ = {"inputs": prompt,
|
63 |
"parameters":
|
64 |
-
{
|
65 |
"top_p": 0.9,
|
66 |
-
"temperature": 1.1,
|
67 |
"max_new_tokens": 250,
|
68 |
"return_full_text": True,
|
69 |
"do_sample": True,
|
|
|
61 |
|
62 |
json_ = {"inputs": prompt,
|
63 |
"parameters":
|
64 |
+
{'top_k': 0,
|
65 |
"top_p": 0.9,
|
66 |
+
"temperature": 0.7, #1.1,
|
67 |
"max_new_tokens": 250,
|
68 |
"return_full_text": True,
|
69 |
"do_sample": True,
|