remove faulty examples
Browse files
app.py
CHANGED
@@ -81,19 +81,6 @@ with gr.Blocks(css=css) as demo:
|
|
81 |
with gr.Column():
|
82 |
output_text = gr.Textbox(label="Output Text")
|
83 |
|
84 |
-
gr.Examples(
|
85 |
-
examples=[
|
86 |
-
["image1.jpg", "ScreenQA", "What is the version of the settings?"],
|
87 |
-
["image1.jpg", "ScreenQA", "What is the state of use lower resolution images?"],
|
88 |
-
["image2.jpg", "ScreenQA", "How much is the discount for the product?"]
|
89 |
-
],
|
90 |
-
inputs=[input_img, text_input],
|
91 |
-
outputs=[output_text],
|
92 |
-
fn=run_example,
|
93 |
-
cache_examples=True,
|
94 |
-
label="Try examples"
|
95 |
-
)
|
96 |
-
|
97 |
submit_btn.click(run_example, [input_img, text_input, model_selector], [output_text])
|
98 |
|
99 |
demo.launch(debug=True)
|
|
|
81 |
with gr.Column():
|
82 |
output_text = gr.Textbox(label="Output Text")
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
submit_btn.click(run_example, [input_img, text_input, model_selector], [output_text])
|
85 |
|
86 |
demo.launch(debug=True)
|