Spaces:
Sleeping
Sleeping
add examples
Browse files- app.py +5 -3
- idefics2_architecture.png +0 -0
- image.jpg +0 -0
- image1.jpg +0 -0
- image2.jpg +0 -0
app.py
CHANGED
@@ -78,10 +78,12 @@ with gr.Blocks(css=css) as demo:
|
|
78 |
|
79 |
gr.Examples(
|
80 |
examples=[
|
81 |
-
["
|
82 |
-
["
|
|
|
|
|
83 |
],
|
84 |
-
inputs=[input_img],
|
85 |
outputs=[output_text, output_img],
|
86 |
fn=process_image,
|
87 |
cache_examples=True,
|
|
|
78 |
|
79 |
gr.Examples(
|
80 |
examples=[
|
81 |
+
["idefics2_architecture.png", 'How many tokens per image does it use?'],
|
82 |
+
["idefics2_architecture.png", 'How large can the input images be?'],
|
83 |
+
["idefics2_architecture.png", 'Up to which size can the images be?'],
|
84 |
+
["image.jpg", "What's the share of Industry Switchers Gained?"]
|
85 |
],
|
86 |
+
inputs=[input_img, text_input],
|
87 |
outputs=[output_text, output_img],
|
88 |
fn=process_image,
|
89 |
cache_examples=True,
|
idefics2_architecture.png
ADDED
image.jpg
ADDED
image1.jpg
DELETED
Binary file (39.1 kB)
|
|
image2.jpg
DELETED
Binary file (51.9 kB)
|
|