CocoonAI commited on
Commit
0aa9390
·
1 Parent(s): 3590cc5
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +1 -1
.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 = "/data/vaults"
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