Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
3 |
import os
|
|
|
1 |
+
import subprocess
|
2 |
+
|
3 |
+
# Define the local paths to the packages
|
4 |
+
local_package_paths = ["./TTS", "./transformers"]
|
5 |
+
|
6 |
+
# Run the pip install command for each local package
|
7 |
+
for package_path in local_package_paths:
|
8 |
+
subprocess.run(["pip", "install", "-e", package_path])
|
9 |
+
|
10 |
import gradio as gr
|
11 |
from share_btn import community_icon_html, loading_icon_html, share_js
|
12 |
import os
|