Spaces:
Sleeping
Sleeping
Update api.py
Browse files
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(
|
| 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}")
|