liuhuadai commited on
Commit
e7b7e74
·
verified ·
1 Parent(s): eabc0a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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(