Spaces:
Sleeping
Sleeping
update instructions
Browse files
app.py
CHANGED
|
@@ -414,9 +414,9 @@ with gr.Blocks() as demo:
|
|
| 414 |
with gr.Column():
|
| 415 |
gr.Markdown("# SAM2 Video Predictor")
|
| 416 |
gr.Markdown("This is a simple demo for video segmentation with SAM2.")
|
| 417 |
-
gr.Markdown("""Instructions:
|
| 418 |
|
| 419 |
-
1. Upload your video
|
| 420 |
2. With 'include' point type selected, Click on the object to mask on first frame
|
| 421 |
3. Switch to 'exclude' point type if you want to specify an area to avoid
|
| 422 |
4. Get Mask !
|
|
@@ -454,7 +454,7 @@ with gr.Blocks() as demo:
|
|
| 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():
|
|
|
|
| 414 |
with gr.Column():
|
| 415 |
gr.Markdown("# SAM2 Video Predictor")
|
| 416 |
gr.Markdown("This is a simple demo for video segmentation with SAM2.")
|
| 417 |
+
gr.Markdown("""Instructions: (read the instructions)
|
| 418 |
|
| 419 |
+
1. Upload your video [MP4-24fps]
|
| 420 |
2. With 'include' point type selected, Click on the object to mask on first frame
|
| 421 |
3. Switch to 'exclude' point type if you want to specify an area to avoid
|
| 422 |
4. Get Mask !
|
|
|
|
| 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> to skip queue and avoid OOM errors from heavy public load
|
| 458 |
""")
|
| 459 |
|
| 460 |
with gr.Column():
|