liamcripwell commited on
Commit
3c2969a
·
verified ·
1 Parent(s): fda98ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ print("=== DEBUG: Starting app.py ===")
8
 
9
  # Get example images
10
  import os
11
- example_dir = "example_images" # Relative path since it's in the same directory
 
12
  example_images = []
13
  if os.path.exists(example_dir):
14
  for filename in os.listdir(example_dir):
 
8
 
9
  # Get example images
10
  import os
11
+ example_dir = os.path.join(os.environ.get('HOME', '/home/user'), 'app', 'example_images')
12
+ # example_dir = "example_images" # Relative path since it's in the same directory
13
  example_images = []
14
  if os.path.exists(example_dir):
15
  for filename in os.listdir(example_dir):