Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -64,3 +64,9 @@ async def upload_file(file: UploadFile = File(...)):
|
|
64 |
|
65 |
# Return the file as a downloadable response.
|
66 |
return FileResponse(temp_md.name, filename="output.md", media_type="text/markdown")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
# Return the file as a downloadable response.
|
66 |
return FileResponse(temp_md.name, filename="output.md", media_type="text/markdown")
|
67 |
+
|
68 |
+
# --- API Endpoints ---
|
69 |
+
@app.get("/", summary="Health Check")
|
70 |
+
async def root():
|
71 |
+
return {"message": "API is up and running."}
|
72 |
+
|