Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -14,9 +14,11 @@ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'depth')
|
|
| 14 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'refer')))
|
| 15 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'stable-diffusion')))
|
| 16 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'taming-transformers')))
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
| 18 |
os.chdir(os.path.abspath(os.path.join(os.path.dirname(__file__), 'depth')))
|
| 19 |
-
print('!!!',os.listdir('.'))
|
| 20 |
# Device
|
| 21 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 22 |
|
|
|
|
| 14 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'refer')))
|
| 15 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'stable-diffusion')))
|
| 16 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'taming-transformers')))
|
| 17 |
+
|
| 18 |
+
import taming
|
| 19 |
+
print('!!!',taming.__file__)
|
| 20 |
+
|
| 21 |
os.chdir(os.path.abspath(os.path.join(os.path.dirname(__file__), 'depth')))
|
|
|
|
| 22 |
# Device
|
| 23 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 24 |
|