jadechoghari commited on
Commit
6b8efdb
·
verified ·
1 Parent(s): b34a2bc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -21,7 +21,8 @@ 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) # add short=False if audio is > 10 seconds
 
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
+ # 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