Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -168,9 +168,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
168 |
["./example_images/chicken_on_money.png", "Can you tell me a very short story based on this image?", 0.4, 512, 1.2, 0.8],
|
169 |
["./example_images/baklava.png", "Where is this pastry from?", 0.4, 512, 1.2, 0.8],
|
170 |
["./example_images/dummy_pdf.png", "How much percent is the order status?", 0.4, 512, 1.2, 0.8],
|
171 |
-
["./example_images/art_critic.png", "As an art critic AI assistant, could you describe this painting in details and make a thorough critic?.",
|
172 |
-
0.4, 512, 1.2, 0.8]]
|
173 |
-
],
|
174 |
|
175 |
submit_btn.click(model_inference, inputs = [image_input, query_input, decoding_strategy, temperature,
|
176 |
max_new_tokens, repetition_penalty, top_p],
|
|
|
168 |
["./example_images/chicken_on_money.png", "Can you tell me a very short story based on this image?", 0.4, 512, 1.2, 0.8],
|
169 |
["./example_images/baklava.png", "Where is this pastry from?", 0.4, 512, 1.2, 0.8],
|
170 |
["./example_images/dummy_pdf.png", "How much percent is the order status?", 0.4, 512, 1.2, 0.8],
|
171 |
+
["./example_images/art_critic.png", "As an art critic AI assistant, could you describe this painting in details and make a thorough critic?.", 0.4, 512, 1.2, 0.8]]
|
|
|
|
|
172 |
|
173 |
submit_btn.click(model_inference, inputs = [image_input, query_input, decoding_strategy, temperature,
|
174 |
max_new_tokens, repetition_penalty, top_p],
|