Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ print("=== DEBUG: Starting app.py ===")
|
|
8 |
|
9 |
# Get example images
|
10 |
import os
|
11 |
-
example_dir =
|
|
|
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):
|