Spaces:
Running
on
Zero
Running
on
Zero
xiaozhongji
commited on
Commit
·
e8610cf
1
Parent(s):
1c55b33
update
Browse files
app.py
CHANGED
@@ -5,11 +5,11 @@ from pydub import AudioSegment
|
|
5 |
import hashlib
|
6 |
from sonic import Sonic
|
7 |
|
8 |
-
cmd = 'python3 -m pip install "huggingface_hub[cli]"; \
|
9 |
-
huggingface-cli download LeonJoe13/Sonic --local-dir checkpoints; \
|
10 |
-
huggingface-cli download stabilityai/stable-video-diffusion-img2vid-xt --local-dir checkpoints/stable-video-diffusion-img2vid-xt; \
|
11 |
-
huggingface-cli download openai/whisper-tiny --local-dir checkpoints/whisper-tiny \
|
12 |
-
nvidia-smi'
|
13 |
os.system(cmd)
|
14 |
|
15 |
import torch
|
|
|
5 |
import hashlib
|
6 |
from sonic import Sonic
|
7 |
|
8 |
+
# cmd = 'python3 -m pip install "huggingface_hub[cli]"; \
|
9 |
+
# huggingface-cli download LeonJoe13/Sonic --local-dir checkpoints; \
|
10 |
+
# huggingface-cli download stabilityai/stable-video-diffusion-img2vid-xt --local-dir checkpoints/stable-video-diffusion-img2vid-xt; \
|
11 |
+
# huggingface-cli download openai/whisper-tiny --local-dir checkpoints/whisper-tiny; \
|
12 |
+
cmd = 'nvidia-smi'
|
13 |
os.system(cmd)
|
14 |
|
15 |
import torch
|