Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
import os
|
2 |
import sys
|
3 |
-
os.system('pip install -e .')
|
4 |
current_path = os.path.abspath(__file__)
|
|
|
5 |
parent_path = os.path.dirname(current_path)
|
6 |
-
print(parent_path)
|
7 |
sys.path.append(parent_path)
|
8 |
-
print(sys.path)
|
9 |
os.system('python opensora/serve/gradio_web_server.py')
|
|
|
1 |
import os
|
2 |
import sys
|
3 |
+
#os.system('pip install -e .')
|
4 |
current_path = os.path.abspath(__file__)
|
5 |
+
print('current_path', current_path)
|
6 |
parent_path = os.path.dirname(current_path)
|
7 |
+
print('parent_path, parent_path)
|
8 |
sys.path.append(parent_path)
|
9 |
+
print('sys.path', sys.path)
|
10 |
os.system('python opensora/serve/gradio_web_server.py')
|