Spaces:
Sleeping
Sleeping
nick_93
commited on
Commit
•
311c16e
1
Parent(s):
22bbf05
init
Browse files
app.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
import os
|
2 |
import sys
|
3 |
|
4 |
-
|
5 |
-
sys.path.append(
|
6 |
-
sys.path.append('./latent-diffusion')
|
7 |
os.chdir(depth_directory)
|
8 |
|
9 |
import cv2
|
|
|
1 |
import os
|
2 |
import sys
|
3 |
|
4 |
+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'depth')))
|
5 |
+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'stable-diffusion')))
|
|
|
6 |
os.chdir(depth_directory)
|
7 |
|
8 |
import cv2
|