Morris88826 commited on
Commit
a2b7522
·
verified ·
1 Parent(s): a5014c7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -42,13 +42,15 @@ import torch
42
  from huggingface_hub import hf_hub_download
43
  from src.accentcl.models.accentcl import WhisperCLAccentModel
44
 
 
 
45
  # Download model configuration
46
  hf_hub_download(repo_id, "config.json")
47
 
48
  # Download the selected checkpoint
49
  checkpoint = hf_hub_download(
50
- repo_id="Morris88826/accentcl",
51
- filename="accentcl_spanish_chinese.pt",
52
  )
53
 
54
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
42
  from huggingface_hub import hf_hub_download
43
  from src.accentcl.models.accentcl import WhisperCLAccentModel
44
 
45
+ repo_id = "Morris88826/accentcl"
46
+
47
  # Download model configuration
48
  hf_hub_download(repo_id, "config.json")
49
 
50
  # Download the selected checkpoint
51
  checkpoint = hf_hub_download(
52
+ repo_id,
53
+ "accentcl_spanish_chinese.pt"
54
  )
55
 
56
  device = "cuda" if torch.cuda.is_available() else "cpu"