jpgallegoar commited on
Commit
a4f5edd
1 Parent(s): ff1895d

Update app.py

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