Spaces:
Running on Zero
Running on Zero
punkt_tab
Browse filesFiles changed (4)
173 unmodified lines1741751761771781791801811821831841851863 unmodified lines190191192193194173 unmodified linesljbtn = gr.Button("Synthesize", variant="primary")ljaudio = gr.Audio(interactive=False, label="Synthesized Audio", waveform_options={'waveform_progress_color': '#3C82F6'})ljbtn.click(ljsynthesize, inputs=[ljinp, ljsteps], outputs=[ljaudio], concurrency_limit=4)with gr.Blocks(title="StyleTTS 2", css="footer{display:none !important}", theme=theme) as demo:gr.Markdown(INTROTXT)gr.DuplicateButton("Duplicate Space")# gr.TabbedInterface([vctk, clone, lj, longText], ['Multi-Voice', 'Voice Cloning', 'LJSpeech', 'Long Text [Beta]'])gr.TabbedInterface([vctk, clone, lj], ['Multi-Voice', 'Voice Cloning', 'LJSpeech', 'Long Text [Beta]'])gr.Markdown("""Demo by [mrfakename](https://twitter.com/realmrfakename). I am not affiliated with the StyleTTS 2 authors.Run this demo locally using Docker:3 unmodified lines""") # Please do not remove this line.if __name__ == "__main__":# demo.queue(api_open=False, max_size=15).launch(show_api=False)demo.queue(api_open=False, max_size=15).launch(show_api=False)173 unmodified lines1741751761771781791801811821831841851863 unmodified lines190191192193194173 unmodified linesljbtn = gr.Button("Synthesize", variant="primary")ljaudio = gr.Audio(interactive=False, label="Synthesized Audio", waveform_options={'waveform_progress_color': '#3C82F6'})ljbtn.click(ljsynthesize, inputs=[ljinp, ljsteps], outputs=[ljaudio], concurrency_limit=4)with gr.Blocks(title="StyleTTS 2", theme=theme) as demo:gr.Markdown(INTROTXT)gr.DuplicateButton("Duplicate Space")# gr.TabbedInterface([vctk, clone, lj, longText], ['Multi-Voice', 'Voice Cloning', 'LJSpeech', 'Long Text [Beta]'])gr.TabbedInterface([vctk, clone, lj], ['Multi-Voice', 'Voice Cloning', 'LJSpeech', 'Long Text [Beta]'])gr.Markdown("""Original demo by [mrfakename](https://twitter.com/realmrfakename). Not affiliated with the StyleTTS 2 authors.Run this demo locally using Docker:3 unmodified lines""") # Please do not remove this line.if __name__ == "__main__":# demo.queue(api_open=False, max_size=15).launch(show_api=False)demo.queue(api_open=True, max_size=15).launch(show_api=True)
3 unmodified lines4567893 unmodified linesprint("NLTK")import nltknltk.download('punkt')print("SCIPY")from scipy.io.wavfile import writeprint("TORCH STUFF")3 unmodified lines456789103 unmodified linesprint("NLTK")import nltknltk.download('punkt')nltk.download('punkt_tab')print("SCIPY")from scipy.io.wavfile import writeprint("TORCH STUFF")
13 unmodified lines14151617181913 unmodified linesimport nltknltk.download('punkt')# load packagesimport time13 unmodified lines1415161718192013 unmodified linesimport nltknltk.download('punkt')nltk.download('punkt_data')# load packagesimport time
5 unmodified lines678910115 unmodified linesprint("NLTK")import nltknltk.download('punkt')print("SCIPY")from scipy.io.wavfile import writeprint("TORCH STUFF")5 unmodified lines67891011125 unmodified linesprint("NLTK")import nltknltk.download('punkt')nltk.download('punkt_tab')print("SCIPY")from scipy.io.wavfile import writeprint("TORCH STUFF")
app.py+3-3
compute.py+1
ljspeechimportable.py+1
styletts2importable.py+1