Spaces:
Sleeping
Sleeping
CocoonAI
commited on
Commit
·
0aa9390
1
Parent(s):
3590cc5
go
Browse files
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
app.py
CHANGED
|
@@ -34,7 +34,7 @@ app = FastAPI()
|
|
| 34 |
|
| 35 |
# === Utils ===
|
| 36 |
def get_user_vault_path(user_id: str) -> str:
|
| 37 |
-
base_path = "
|
| 38 |
user_path = os.path.join(base_path, f"user_{user_id}")
|
| 39 |
os.makedirs(user_path, exist_ok=True)
|
| 40 |
return user_path
|
|
|
|
| 34 |
|
| 35 |
# === Utils ===
|
| 36 |
def get_user_vault_path(user_id: str) -> str:
|
| 37 |
+
base_path = "vaults" # Chemin local dans le repo Hugging Face
|
| 38 |
user_path = os.path.join(base_path, f"user_{user_id}")
|
| 39 |
os.makedirs(user_path, exist_ok=True)
|
| 40 |
return user_path
|