openfree commited on
Commit
9132603
·
verified ·
1 Parent(s): 7b4dc6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -8,15 +8,15 @@ from sonic import Sonic # <-- 수정된 sonic.py 사용
8
  # ------------------------------------------------------------------
9
  # 1. 필요한 모델·라이브러리 설치 & 체크포인트 다운로드
10
  # ------------------------------------------------------------------
 
11
  SETUP_CMD = (
12
- # 필수 라이브러리
13
- 'python -m pip install --quiet "huggingface_hub[cli]" accelerate pydub Pillow '
14
- # Sonic 체크포인트 checkpoints/Sonic/*
15
- '&& huggingface-cli download LeonJoe13/Sonic '
16
- '--local-dir checkpoints/Sonic --local-dir-use-symlinks False '
17
- # Whisper-tiny (음성 인코더)
18
- '&& huggingface-cli download openai/whisper-tiny '
19
- '--local-dir checkpoints/whisper-tiny --local-dir-use-symlinks False '
20
  )
21
  os.system(SETUP_CMD)
22
 
 
8
  # ------------------------------------------------------------------
9
  # 1. 필요한 모델·라이브러리 설치 & 체크포인트 다운로드
10
  # ------------------------------------------------------------------
11
+
12
  SETUP_CMD = (
13
+ 'python -m pip install "huggingface_hub[cli]" accelerate; '
14
+ 'huggingface-cli download LeonJoe13/Sonic '
15
+ ' --local-dir checkpoints/Sonic --local-dir-use-symlinks False; '
16
+ 'huggingface-cli download stabilityai/stable-video-diffusion-img2vid-xt '
17
+ ' --local-dir checkpoints/stable-video-diffusion-img2vid-xt --local-dir-use-symlinks False; '
18
+ 'huggingface-cli download openai/whisper-tiny '
19
+ ' --local-dir checkpoints/whisper-tiny --local-dir-use-symlinks False; '
 
20
  )
21
  os.system(SETUP_CMD)
22