Spaces:
Runtime error
Runtime error
This PR fixes the file (#1)
Browse files- This PR fixes the file (2148820a34b21abc2e8b4dc55e07acdb8d6277d3)
Co-authored-by: Fabrice TIERCELIN <[email protected]>
app.py
CHANGED
@@ -1,16 +1,3 @@
|
|
1 |
-
%cd /content
|
2 |
-
!git clone -b dev https://github.com/camenduru/generative-models
|
3 |
-
!pip install -q -r https://github.com/camenduru/stable-video-diffusion-colab/raw/main/requirements.txt
|
4 |
-
!pip install -q -e generative-models
|
5 |
-
!pip install -q -e git+https://github.com/Stability-AI/datapipelines@main#egg=sdata
|
6 |
-
|
7 |
-
!apt -y install -qq aria2
|
8 |
-
!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vdo/stable-video-diffusion-img2vid-xt/resolve/main/svd_xt.safetensors?download=true -d /content/checkpoints -o svd_xt.safetensors
|
9 |
-
|
10 |
-
!mkdir -p /content/scripts/util/detection
|
11 |
-
!ln -s /content/generative-models/scripts/util/detection/p_head_v1.npz /content/scripts/util/detection/p_head_v1.npz
|
12 |
-
!ln -s /content/generative-models/scripts/util/detection/w_head_v1.npz /content/scripts/util/detection/w_head_v1.npz
|
13 |
-
|
14 |
import sys
|
15 |
sys.path.append("generative-models")
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import sys
|
2 |
sys.path.append("generative-models")
|
3 |
|