specify 44khz
Browse files- README.md +1 -1
- save_model.ipynb +1 -1
README.md
CHANGED
@@ -47,7 +47,7 @@ from transformers import AutoModel
|
|
47 |
device = 'cpu' # or 'cuda:0'
|
48 |
|
49 |
# load
|
50 |
-
model = AutoModel.from_pretrained('hance-ai/descript-audio-codec', trust_remote_code=True)
|
51 |
model.to(device)
|
52 |
```
|
53 |
|
|
|
47 |
device = 'cpu' # or 'cuda:0'
|
48 |
|
49 |
# load
|
50 |
+
model = AutoModel.from_pretrained('hance-ai/descript-audio-codec-44khz', trust_remote_code=True)
|
51 |
model.to(device)
|
52 |
```
|
53 |
|
save_model.ipynb
CHANGED
@@ -82,7 +82,7 @@
|
|
82 |
"with open('token.txt', 'r') as file:\n",
|
83 |
" token = file.read().strip()\n",
|
84 |
"\n",
|
85 |
-
"model.push_to_hub('hance-ai/descript-audio-codec', token=token) # put your token"
|
86 |
]
|
87 |
},
|
88 |
{
|
|
|
82 |
"with open('token.txt', 'r') as file:\n",
|
83 |
" token = file.read().strip()\n",
|
84 |
"\n",
|
85 |
+
"model.push_to_hub('hance-ai/descript-audio-codec-44khz', token=token) # put your token"
|
86 |
]
|
87 |
},
|
88 |
{
|