redradios commited on
Commit
10c6a31
·
verified ·
1 Parent(s): 0f992f0

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+
3
+ def install_package():
4
+ subprocess.run(["pip", "uninstall", "-y", "Spanish-F5"], check=True)
5
+ subprocess.run(["pip", "install", "--upgrade", "git+https://github.com/jpgallegoar/Spanish-F5", "--no-cache-dir"], check=True)
6
+
7
+ # Install the package on startup
8
+ install_package()
9
+
10
+ # Start the Gradio app
11
+ subprocess.run(["f5-tts_infer-gradio"])