File size: 361 Bytes
429eea1
 
53c8c8c
a4f5edd
bd4f935
 
53c8c8c
 
429eea1
 
a4f5edd
1
2
3
4
5
6
7
8
9
10
11
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"])