Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from PIL import Image
|
|
11 |
from torchvision import transforms
|
12 |
|
13 |
# ----------------- HELPER FUNCTIONS ----------------- #
|
14 |
-
|
15 |
ASSETS_DIR = os.path.join(os.path.dirname(__file__), "assets")
|
16 |
os.makedirs(ASSETS_DIR, exist_ok=True)
|
17 |
|
|
|
11 |
from torchvision import transforms
|
12 |
|
13 |
# ----------------- HELPER FUNCTIONS ----------------- #
|
14 |
+
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
15 |
ASSETS_DIR = os.path.join(os.path.dirname(__file__), "assets")
|
16 |
os.makedirs(ASSETS_DIR, exist_ok=True)
|
17 |
|