ahassoun commited on
Commit
e95edb5
1 Parent(s): 6c5555a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
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