Spaces:
Runtime error
Runtime error
add duplicate button
Browse files
app.py
CHANGED
|
@@ -449,6 +449,13 @@ with gr.Blocks() as demo:
|
|
| 449 |
|
| 450 |
with gr.Accordion("Your video IN", open=True) as video_in_drawer:
|
| 451 |
video_in = gr.Video(label="Video IN", format="mp4")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 452 |
|
| 453 |
with gr.Column():
|
| 454 |
with gr.Row():
|
|
|
|
| 449 |
|
| 450 |
with gr.Accordion("Your video IN", open=True) as video_in_drawer:
|
| 451 |
video_in = gr.Video(label="Video IN", format="mp4")
|
| 452 |
+
|
| 453 |
+
gr.HTML("""
|
| 454 |
+
|
| 455 |
+
<a href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}?duplicate=true">
|
| 456 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg-dark.svg" alt="Duplicate this Space" />
|
| 457 |
+
</a>
|
| 458 |
+
""")
|
| 459 |
|
| 460 |
with gr.Column():
|
| 461 |
with gr.Row():
|