MissingBreath commited on
Commit
f92d4cf
·
verified ·
1 Parent(s): b275fef

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -68,7 +68,7 @@ Chorma_path = "/code/Chroma/"
68
  # Check if the directory exists
69
  if not os.path.exists(Chorma_path):
70
  try:
71
- os.makedirs(chroma_path)
72
  print(f"Directory created: {Chorma_path}")
73
  except PermissionError:
74
  print(f"Permission denied: Unable to create directory {Chorma_path}")
 
68
  # Check if the directory exists
69
  if not os.path.exists(Chorma_path):
70
  try:
71
+ os.makedirs(Chorma_path)
72
  print(f"Directory created: {Chorma_path}")
73
  except PermissionError:
74
  print(f"Permission denied: Unable to create directory {Chorma_path}")