Views
No views yet
1!git lfs install
2!git clone https://huggingface.co/jadechoghari/VoiceRestore
3%cd VoiceRestore
4!pip install -r requirements.txt1from transformers import AutoModel
2# path to the model folder (on colab it's as follows)
3checkpoint_path = "/content/VoiceRestore"
4model = AutoModel.from_pretrained(checkpoint_path, trust_remote_code=True)
5model("test_input.wav", "test_output.wav")
6#add short=False if audio is > 10 seconds
7model("long.mp3", "long_output.mp3", short=False)@article{kirdey2024voicerestore,
title={VoiceRestore: Flow-Matching Transformers for Speech Recording Quality Restoration},
author={Kirdey, Stanislav},
journal={arXiv},
year={2024}
}