ray-006 commited on
Commit
16c1133
·
verified ·
1 Parent(s): 098f87d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,12 +3,12 @@ import torch
3
  import torchaudio
4
  import os
5
  import tempfile
6
- from huggingface_hub import hf_hub_download # 1. Import the downloader
7
  from sam_audio import SAMAudio, SAMAudioProcessor
8
 
9
  # --- Initialization ---
10
  device = "cuda" if torch.cuda.is_available() else "cpu"
11
- REPO_ID = "your-username/your-model-name"
12
  checkpoint_path = hf_hub_download(repo_id=REPO_ID, filename="checkpoint.pt")
13
 
14
  # 4. Load the model and apply your weights
 
3
  import torchaudio
4
  import os
5
  import tempfile
6
+ from huggingface_hub import hf_hub_download
7
  from sam_audio import SAMAudio, SAMAudioProcessor
8
 
9
  # --- Initialization ---
10
  device = "cuda" if torch.cuda.is_available() else "cpu"
11
+ REPO_ID = "ray-006/model-audio"
12
  checkpoint_path = hf_hub_download(repo_id=REPO_ID, filename="checkpoint.pt")
13
 
14
  # 4. Load the model and apply your weights