Portuguese-F5 / app.py
UberStewie66's picture
Create app.py
cc20962 verified
raw
history blame contribute delete
367 Bytes
import subprocess
def install_package():
subprocess.run(["pip", "uninstall", "-y", "Spanish-F5"], check=True)
subprocess.run(["pip", "install", "--upgrade", "git+https://huggingface.co/firstpixel/F5-TTS-pt-br/", "--no-cache-dir"], check=True)
# Install the package on startup
install_package()
# Start the Gradio app
subprocess.run(["f5-tts_infer-gradio"])