Spaces:
Runtime error
Runtime error
app.py
CHANGED
|
@@ -67,7 +67,6 @@ def meme_generate(img): #prompt, generated_txt): #, input_prompt_sql ): #, input
|
|
| 67 |
"max_new_tokens": 250,
|
| 68 |
"num_return_sequences": 3,
|
| 69 |
"return_full_text": True,
|
| 70 |
-
"do_sample": True,
|
| 71 |
},
|
| 72 |
"options":
|
| 73 |
{"use_cache": True,
|
|
@@ -123,7 +122,7 @@ demo = gr.Blocks()
|
|
| 123 |
with demo:
|
| 124 |
gr.Markdown("<h1><center>Testing</center></h1>")
|
| 125 |
gr.Markdown(
|
| 126 |
-
"""
|
| 127 |
)
|
| 128 |
with gr.Row():
|
| 129 |
#example_prompt = gr.Radio( ["Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: Let’s think step by step.\n"], label= "Choose a sample Prompt")
|
|
|
|
| 67 |
"max_new_tokens": 250,
|
| 68 |
"num_return_sequences": 3,
|
| 69 |
"return_full_text": True,
|
|
|
|
| 70 |
},
|
| 71 |
"options":
|
| 72 |
{"use_cache": True,
|
|
|
|
| 122 |
with demo:
|
| 123 |
gr.Markdown("<h1><center>Testing</center></h1>")
|
| 124 |
gr.Markdown(
|
| 125 |
+
"""Work In Progress"""
|
| 126 |
)
|
| 127 |
with gr.Row():
|
| 128 |
#example_prompt = gr.Radio( ["Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: Let’s think step by step.\n"], label= "Choose a sample Prompt")
|