Spaces:
Running
Running
Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
@@ -32,6 +32,10 @@ def install_model():
|
|
32 |
install_src()
|
33 |
install_model()
|
34 |
|
|
|
|
|
|
|
|
|
35 |
# run gradio
|
36 |
import re
|
37 |
import sys
|
|
|
32 |
install_src()
|
33 |
install_model()
|
34 |
|
35 |
+
# fix sys.path for import
|
36 |
+
print(f"LOCAL_PATH: {os.path.abspath(LOCAL_PATH)}")
|
37 |
+
sys.path.append(os.path.abspath(LOCAL_PATH))
|
38 |
+
|
39 |
# run gradio
|
40 |
import re
|
41 |
import sys
|