Spaces:
Running
on
Zero
Running
on
Zero
xiaozhongji
commited on
Commit
·
1c55b33
1
Parent(s):
afef034
update
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ from sonic import Sonic
|
|
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 |
os.system(cmd)
|
13 |
|
14 |
import torch
|
|
|
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
|