final_test
Browse files
app.py
CHANGED
|
@@ -3,7 +3,6 @@ from llava.eval.model_vqa_demo import eval_model
|
|
| 3 |
|
| 4 |
def inference(my_prompt, my_image):
|
| 5 |
outputs = eval_model(my_image, my_prompt)
|
| 6 |
-
outputs = my_prompt
|
| 7 |
return outputs
|
| 8 |
|
| 9 |
with gr.Blocks(css=".custom-title { text-align: center; font-size: 2rem; font-weight: bold; margin-bottom: 20px; }") as demo:
|
|
|
|
| 3 |
|
| 4 |
def inference(my_prompt, my_image):
|
| 5 |
outputs = eval_model(my_image, my_prompt)
|
|
|
|
| 6 |
return outputs
|
| 7 |
|
| 8 |
with gr.Blocks(css=".custom-title { text-align: center; font-size: 2rem; font-weight: bold; margin-bottom: 20px; }") as demo:
|