Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
323560e
1
Parent(s):
55fc385
fix duration
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def video_to_gif_and_images(video, indices):
|
|
94 |
]
|
95 |
|
96 |
|
97 |
-
@spaces.GPU(duration=
|
98 |
@torch.autocast("cuda")
|
99 |
@torch.no_grad()
|
100 |
def single_image_to_long_video(
|
@@ -360,7 +360,7 @@ def _interpolate_between(
|
|
360 |
return xs, long_conditions
|
361 |
|
362 |
|
363 |
-
@spaces.GPU(duration=
|
364 |
@torch.autocast("cuda")
|
365 |
@torch.no_grad()
|
366 |
def smooth_navigation(
|
@@ -450,8 +450,8 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue="teal")) as demo:
|
|
450 |
with gr.Accordion("Troubleshooting: Not Working or Too Slow?", open=False):
|
451 |
gr.Markdown(
|
452 |
"""
|
453 |
-
- Error or Unexpected Results? _Please try again after refreshing the page.
|
454 |
-
- Performance Issues or No GPU Allocation? _Consider running the demo locally by cloning the repository (click the dots in the top-right corner)_
|
455 |
"""
|
456 |
)
|
457 |
|
|
|
94 |
]
|
95 |
|
96 |
|
97 |
+
@spaces.GPU(duration=200)
|
98 |
@torch.autocast("cuda")
|
99 |
@torch.no_grad()
|
100 |
def single_image_to_long_video(
|
|
|
360 |
return xs, long_conditions
|
361 |
|
362 |
|
363 |
+
@spaces.GPU(duration=200)
|
364 |
@torch.autocast("cuda")
|
365 |
@torch.no_grad()
|
366 |
def smooth_navigation(
|
|
|
450 |
with gr.Accordion("Troubleshooting: Not Working or Too Slow?", open=False):
|
451 |
gr.Markdown(
|
452 |
"""
|
453 |
+
- Error or Unexpected Results? _Please try again after refreshing the page and ensure you do not click the same button multiple times.
|
454 |
+
- Performance Issues or No GPU Allocation? _Consider running the demo locally by cloning the repository (click the dots in the top-right corner). Alternatively, you can subscribe to Hugging Face Pro for an increased GPU quota._
|
455 |
"""
|
456 |
)
|
457 |
|