jadechoghari
commited on
Commit
•
0fed967
1
Parent(s):
6b8efdb
Update README.md
Browse files
README.md
CHANGED
@@ -21,9 +21,9 @@ It is based on this [repo](https://github.com/skirdey/voicerestore) & demo of au
|
|
21 |
from transformers import AutoModel
|
22 |
# path to the model folder (on colab it's as follows)
|
23 |
checkpoint_path = "/content/VoiceRestore"
|
24 |
-
# add short=False if audio is > 10 seconds
|
25 |
model = AutoModel.from_pretrained(checkpoint_path, trust_remote_code=True)
|
26 |
model("test_input.wav", "test_output.wav")
|
|
|
27 |
```
|
28 |
|
29 |
|
|
|
21 |
from transformers import AutoModel
|
22 |
# path to the model folder (on colab it's as follows)
|
23 |
checkpoint_path = "/content/VoiceRestore"
|
|
|
24 |
model = AutoModel.from_pretrained(checkpoint_path, trust_remote_code=True)
|
25 |
model("test_input.wav", "test_output.wav")
|
26 |
+
#add short=False if audio is > 10 seconds
|
27 |
```
|
28 |
|
29 |
|