Spanish-F5 / app.py
jpgallegoar's picture
Update app.py
a4f5edd verified
raw
history blame contribute delete
361 Bytes
import subprocess
def install_package():
subprocess.run(["pip", "uninstall", "-y", "Spanish-F5"], check=True)
subprocess.run(["pip", "install", "--upgrade", "git+https://github.com/jpgallegoar/Spanish-F5", "--no-cache-dir"], check=True)
# Install the package on startup
install_package()
# Start the Gradio app
subprocess.run(["f5-tts_infer-gradio"])