Spaces:
Running
on
Zero
Running
on
Zero
jpgallegoar
commited on
Commit
•
53c8c8c
1
Parent(s):
5a12170
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,11 @@
|
|
1 |
-
import os
|
2 |
import subprocess
|
3 |
-
import time
|
4 |
|
5 |
-
def
|
6 |
-
subprocess.run(["
|
7 |
-
subprocess.run(["pip", "install", "-e", "."], check=True)
|
8 |
|
9 |
-
#
|
10 |
-
|
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 |
+
|