Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -185,6 +185,8 @@ else:
|
|
| 185 |
device = 'cpu'
|
| 186 |
extra_device = 'cpu'
|
| 187 |
|
|
|
|
|
|
|
| 188 |
vae_ckpt = hf_hub_download(repo_id="liuhuadai/ThinkSound", filename="vae.ckpt",repo_type="model")
|
| 189 |
synchformer_ckpt = hf_hub_download(repo_id="liuhuadai/ThinkSound", filename="synchformer_state_dict.pth",repo_type="model")
|
| 190 |
feature_extractor = FeaturesUtils(
|
|
|
|
| 185 |
device = 'cpu'
|
| 186 |
extra_device = 'cpu'
|
| 187 |
|
| 188 |
+
print(f"load in device {device}")
|
| 189 |
+
|
| 190 |
vae_ckpt = hf_hub_download(repo_id="liuhuadai/ThinkSound", filename="vae.ckpt",repo_type="model")
|
| 191 |
synchformer_ckpt = hf_hub_download(repo_id="liuhuadai/ThinkSound", filename="synchformer_state_dict.pth",repo_type="model")
|
| 192 |
feature_extractor = FeaturesUtils(
|