Ariamehr commited on
Commit
fd0b130
1 Parent(s): 8d223ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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