Restart
please restart this space , or please inform the date when this space is going to restart
please restart this space , or please inform the date when this space is going to restart
+1
You can do it without it, just download the files and run it locally as long as you have Python and the necessary libraries installed. The files are only 10 KB. The models will be downloaded later. If you just want to synthesize audio, you only need 5 lines of code. 1 line: from transformers import pipeline 2 line: import scipy 3 line: pipe = pipeline("text-to-speech", model="facebook/mms-tts-eng", device=0) 4 line: results = pipe("your text") 5 line: scipy.io.wavfile.write("audio_vits.wav", rate=results["sampling_rate"], data=results["audio"].squeeze())
PS:
Create a text file and paste the code into it. Then change its extension from "txt" to "py". Python only runs scripts with the extension "py"