Spaces:
Running
Running
Commit
·
57cd0c4
1
Parent(s):
ab6c25e
Add duplicate badge
Browse files
app.py
CHANGED
|
@@ -128,6 +128,10 @@ with gr.Blocks(css="style.css", title=title) as demo:
|
|
| 128 |
],
|
| 129 |
[input_image, task, scale],
|
| 130 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
|
| 132 |
run_btn.click(inference, [input_image, task, model_name, scale], [output_image])
|
| 133 |
task.change(on_task_change, [task], [model_name])
|
|
|
|
| 128 |
],
|
| 129 |
[input_image, task, scale],
|
| 130 |
)
|
| 131 |
+
gr.HTML(
|
| 132 |
+
"""<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/dragonSwing/isr?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
|
| 133 |
+
<p><img src="https://visitor-badge.glitch.me/badge?page_id=dragonswing.isr" alt="visitors"></p></center>"""
|
| 134 |
+
)
|
| 135 |
|
| 136 |
run_btn.click(inference, [input_image, task, model_name, scale], [output_image])
|
| 137 |
task.change(on_task_change, [task], [model_name])
|