Spaces:
Running
Running
dragonSwing
commited on
Commit
•
9634227
1
Parent(s):
294db91
Add duplicate badge
Browse files
app.py
CHANGED
@@ -310,11 +310,15 @@ with gr.Blocks(css="style.css", title=title) as demo:
|
|
310 |
["examples/eiffel.png", "segment", ""],
|
311 |
["examples/girl.png", "auto", "girl . face"],
|
312 |
["examples/horse.png", "detect", "horse"],
|
313 |
-
["examples/horses.jpg", "auto", "horse"],
|
314 |
["examples/traffic.jpg", "auto", ""],
|
315 |
],
|
316 |
[input_image, task, text_prompt],
|
317 |
)
|
|
|
|
|
|
|
|
|
|
|
318 |
run_button.click(
|
319 |
fn=process,
|
320 |
inputs=[
|
|
|
310 |
["examples/eiffel.png", "segment", ""],
|
311 |
["examples/girl.png", "auto", "girl . face"],
|
312 |
["examples/horse.png", "detect", "horse"],
|
|
|
313 |
["examples/traffic.jpg", "auto", ""],
|
314 |
],
|
315 |
[input_image, task, text_prompt],
|
316 |
)
|
317 |
+
gr.HTML(
|
318 |
+
"""<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/dragonSwing/annotate-anything?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
|
319 |
+
<p><img src="https://visitor-badge.glitch.me/badge?page_id=dragonswing.annotate-anything" alt="visitors"></p></center>"""
|
320 |
+
)
|
321 |
+
|
322 |
run_button.click(
|
323 |
fn=process,
|
324 |
inputs=[
|