Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,14 +84,6 @@ with demo:
|
|
84 |
# Right column: Output display
|
85 |
with gr.Column():
|
86 |
output_box = gr.Markdown("") # will display the result in Markdown (supports bold, lists, etc.)
|
87 |
-
# Example images (if available in the repo)
|
88 |
-
gr.Examples(
|
89 |
-
examples=[["example1.jpg"], ["example2.png"]], # Example file paths (ensure these exist in the Space)
|
90 |
-
inputs=image_in,
|
91 |
-
outputs=output_box,
|
92 |
-
fn=tag_image,
|
93 |
-
cache_examples=True
|
94 |
-
)
|
95 |
# Link the button click to the function
|
96 |
tag_button.click(fn=tag_image, inputs=[image_in, format_choice], outputs=output_box)
|
97 |
# Footer/Info
|
|
|
84 |
# Right column: Output display
|
85 |
with gr.Column():
|
86 |
output_box = gr.Markdown("") # will display the result in Markdown (supports bold, lists, etc.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
# Link the button click to the function
|
88 |
tag_button.click(fn=tag_image, inputs=[image_in, format_choice], outputs=output_box)
|
89 |
# Footer/Info
|