jpgallegoar commited on
Commit
53c8c8c
1 Parent(s): 5a12170

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -1,13 +1,11 @@
1
- import os
2
  import subprocess
3
- import time
4
 
5
- def update_package():
6
- subprocess.run(["git", "pull"], check=True)
7
- subprocess.run(["pip", "install", "-e", "."], check=True)
8
 
9
- # Update and install the package
10
- update_package()
11
 
12
  # Start the Gradio app
13
  subprocess.run(["f5-tts_infer-gradio"])
 
 
 
1
  import subprocess
 
2
 
3
+ def install_package():
4
+ subprocess.run(["pip", "install", "--upgrade", "git+https://github.com/jpgallegoar/Spanish-F5"], check=True)
 
5
 
6
+ # Install the package on startup
7
+ install_package()
8
 
9
  # Start the Gradio app
10
  subprocess.run(["f5-tts_infer-gradio"])
11
+