Spaces:
Sleeping
Sleeping
xinghaochen
commited on
Commit
•
7eb8d7d
1
Parent(s):
a54a273
Update app.py
Browse files
app.py
CHANGED
@@ -84,18 +84,7 @@ with gr.Blocks(css=css, title="TinySAM") as demo:
|
|
84 |
type="pil",
|
85 |
)
|
86 |
output = gr.AnnotatedImage()
|
87 |
-
with gr.Row():
|
88 |
-
with gr.Column():
|
89 |
-
gr.Markdown("Try some of the examples below ⬇️")
|
90 |
-
gr.Examples(
|
91 |
-
examples=examples,
|
92 |
-
inputs=im,
|
93 |
-
examples_per_page=6,
|
94 |
-
)
|
95 |
|
96 |
-
with gr.Column():
|
97 |
-
# Description
|
98 |
-
gr.Markdown(description_p)
|
99 |
im.change(infer, inputs=im, outputs=output)
|
100 |
|
101 |
demo.launch(debug=True)
|
|
|
84 |
type="pil",
|
85 |
)
|
86 |
output = gr.AnnotatedImage()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
|
|
|
|
|
|
88 |
im.change(infer, inputs=im, outputs=output)
|
89 |
|
90 |
demo.launch(debug=True)
|