Spaces:
Runtime error
Runtime error
LanguageBind
commited on
Commit
•
05dac61
1
Parent(s):
fccca34
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
1 |
import os
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
3 |
os.system('python opensora/serve/gradio_web_server.py')
|
|
|
1 |
import os
|
2 |
+
import sys
|
3 |
+
current_path = os.path.abspath(__file__)
|
4 |
+
parent_path = os.path.dirname(current_path)
|
5 |
+
print(parent_path)
|
6 |
+
sys.path.append(parent_path)
|
7 |
+
print(sys.path)
|
8 |
os.system('python opensora/serve/gradio_web_server.py')
|