Update main.py
Browse files
main.py
CHANGED
@@ -48,7 +48,9 @@ def root():
|
|
48 |
@app.get("/health")
|
49 |
def health():
|
50 |
return {"status": "ok", "repo": REPO_ID}
|
51 |
-
|
|
|
|
|
52 |
@app.get("/files", response_model=FileListResponse)
|
53 |
def list_files(q: Optional[str] = Query(None, description="Search filter")):
|
54 |
"""List files in OMol25 repository"""
|
|
|
48 |
@app.get("/health")
|
49 |
def health():
|
50 |
return {"status": "ok", "repo": REPO_ID}
|
51 |
+
@app.get("/privacy")
|
52 |
+
def privacy():
|
53 |
+
return {"privacy": "No user data stored. Public repo access only."}
|
54 |
@app.get("/files", response_model=FileListResponse)
|
55 |
def list_files(q: Optional[str] = Query(None, description="Search filter")):
|
56 |
"""List files in OMol25 repository"""
|