Update app.py
Browse files
app.py
CHANGED
|
@@ -81,9 +81,7 @@ def sync_from_space(space_id: str, local_path: Path):
|
|
| 81 |
except Exception: pass
|
| 82 |
|
| 83 |
def _resolve_repo_path() -> str:
|
| 84 |
-
|
| 85 |
-
if ET_SYSTEMS_SPACE: sync_from_space(ET_SYSTEMS_SPACE, repo_path)
|
| 86 |
-
if repo_path.exists() and any(repo_path.iterdir()): return str(repo_path)
|
| 87 |
return os.path.dirname(os.path.abspath(__file__))
|
| 88 |
|
| 89 |
# Initialize Memory
|
|
|
|
| 81 |
except Exception: pass
|
| 82 |
|
| 83 |
def _resolve_repo_path() -> str:
|
| 84 |
+
# FORCE: Use the directory where this app.py file actually lives
|
|
|
|
|
|
|
| 85 |
return os.path.dirname(os.path.abspath(__file__))
|
| 86 |
|
| 87 |
# Initialize Memory
|