Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,13 @@ import time
|
|
12 |
from functools import lru_cache
|
13 |
|
14 |
# Environment and path setup
|
15 |
-
|
|
|
16 |
|
|
|
|
|
|
|
|
|
17 |
|
18 |
|
19 |
# Configure cache directories
|
|
|
12 |
from functools import lru_cache
|
13 |
|
14 |
# Environment and path setup
|
15 |
+
current_dir = os.path.dirname(__file__)
|
16 |
+
src_path = os.path.abspath(os.path.join(current_dir, "..", "src"))
|
17 |
|
18 |
+
print(">> Adding to path:", src_path)
|
19 |
+
sys.path.insert(0, src_path)
|
20 |
+
|
21 |
+
# Now import
|
22 |
|
23 |
|
24 |
# Configure cache directories
|