tokens
Browse files
main.py
CHANGED
@@ -73,8 +73,9 @@ def _uuid(uuid_str: str) -> UUID:
|
|
73 |
return UUID(uuid_str)
|
74 |
except ValueError:
|
75 |
raise InvalidUUIDError(f"Could not parse {uuid_str} as a UUID")
|
76 |
-
|
77 |
dbh.restoreFolder("/index/chroma")
|
|
|
78 |
app = fastapi.FastAPI(title="ChromaDB")
|
79 |
app.middleware("http")(catch_exceptions_middleware)
|
80 |
app.add_middleware(
|
|
|
73 |
return UUID(uuid_str)
|
74 |
except ValueError:
|
75 |
raise InvalidUUIDError(f"Could not parse {uuid_str} as a UUID")
|
76 |
+
|
77 |
dbh.restoreFolder("/index/chroma")
|
78 |
+
|
79 |
app = fastapi.FastAPI(title="ChromaDB")
|
80 |
app.middleware("http")(catch_exceptions_middleware)
|
81 |
app.add_middleware(
|