Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -34,10 +34,10 @@ prompt3 = """Q: A juggler can juggle 16 balls. Half of the balls are golf balls,
|
|
34 |
A: Let’s think step by step.
|
35 |
"""
|
36 |
|
37 |
-
prompt = """
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
"""
|
42 |
|
43 |
def write_on_image(final_solution):
|
@@ -66,7 +66,7 @@ def meme_generate(img): #prompt, generated_txt): #, input_prompt_sql ): #, input
|
|
66 |
"temperature": 1.1,
|
67 |
"max_new_tokens": 250,
|
68 |
"return_full_text": True,
|
69 |
-
|
70 |
},
|
71 |
"options":
|
72 |
{"use_cache": True,
|
|
|
34 |
A: Let’s think step by step.
|
35 |
"""
|
36 |
|
37 |
+
prompt = """DISTRACTED FROM hubble BY james webb .
|
38 |
+
DISTRACTED FROM homework BY side project.
|
39 |
+
DISTRACTED FROM goals BY new goals.
|
40 |
+
DISTRACTED FROM
|
41 |
"""
|
42 |
|
43 |
def write_on_image(final_solution):
|
|
|
66 |
"temperature": 1.1,
|
67 |
"max_new_tokens": 250,
|
68 |
"return_full_text": True,
|
69 |
+
"do_sample": True,
|
70 |
},
|
71 |
"options":
|
72 |
{"use_cache": True,
|