jadechoghari commited on
Commit
b34a2bc
·
verified ·
1 Parent(s): 7d1b118

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -21,7 +21,7 @@ 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
- model = AutoModel.from_pretrained(checkpoint_path, trust_remote_code=True)
25
  model("test_input.wav", "test_output.wav")
26
  ```
27
 
 
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) # add short=False if audio is > 10 seconds
25
  model("test_input.wav", "test_output.wav")
26
  ```
27