Spaces:
Running
on
Zero
Running
on
Zero
Add models to preload on configuration, use compatible torch version with zerogpu
Browse files- README.md +4 -1
- app.py +6 -1
- requirements.txt +1 -1
README.md
CHANGED
@@ -4,13 +4,16 @@ emoji: π
|
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.
|
8 |
python_version: "3.13"
|
9 |
app_file: app.py
|
10 |
app_port: 7860
|
11 |
pinned: true
|
12 |
license: agpl-3.0
|
13 |
short_description: Image to β 2.5D Parallax Effect Video
|
|
|
|
|
|
|
14 |
---
|
15 |
|
16 |
**DepthFlow** is an advanced _image-to-video_ converter that transforms static pictures into stunning 3D parallax animations. Bring photos to life with motion, featuring high quality and custom presets, perfect for digital art, social media, stock footage, fillers and more.
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.20.0
|
8 |
python_version: "3.13"
|
9 |
app_file: app.py
|
10 |
app_port: 7860
|
11 |
pinned: true
|
12 |
license: agpl-3.0
|
13 |
short_description: Image to β 2.5D Parallax Effect Video
|
14 |
+
preload_from_hub:
|
15 |
+
- depth-anything/Depth-Anything-V2-Base
|
16 |
+
- depth-anything/Depth-Anything-V2-Small
|
17 |
---
|
18 |
|
19 |
**DepthFlow** is an advanced _image-to-video_ converter that transforms static pictures into stunning 3D parallax animations. Bring photos to life with motion, featuring high quality and custom presets, perfect for digital art, social media, stock footage, fillers and more.
|
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
1 |
from DepthFlow.Webui import DepthGradio
|
2 |
|
3 |
-
DepthGradio().launch(
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from DepthFlow.Webui import DepthGradio
|
2 |
|
3 |
+
DepthGradio().launch(
|
4 |
+
nvenc=True,
|
5 |
+
turbo=True,
|
6 |
+
workers=4,
|
7 |
+
pwa=True,
|
8 |
+
)
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
broken-source @ git+https://github.com/BrokenSource/BrokenSource@main
|
2 |
shaderflow @ git+https://github.com/BrokenSource/ShaderFlow@main
|
3 |
depthflow @ git+https://github.com/BrokenSource/DepthFlow@main
|
4 |
-
torch==2.
|
|
|
1 |
broken-source @ git+https://github.com/BrokenSource/BrokenSource@main
|
2 |
shaderflow @ git+https://github.com/BrokenSource/ShaderFlow@main
|
3 |
depthflow @ git+https://github.com/BrokenSource/DepthFlow@main
|
4 |
+
torch==2.4.0
|