jpgallegoar commited on
Commit
429eea1
·
verified ·
1 Parent(s): 2ac059a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"])