purrbits commited on
Commit
4481cb5
·
verified ·
1 Parent(s): 36e39bb

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -5
main.py CHANGED
@@ -267,8 +267,4 @@ async def download_file(filename: str):
267
 
268
  with open(filepath, "rb") as f:
269
  data = f.read()
270
- return Response(data, media_type="application/octet-stream")
271
-
272
- @app.get("/")
273
- async def root():
274
- return {"status": "ok", "service": "brat-generator", "output_dir": OUTPUT_DIR, "tmp_dir": TMP_DIR}
 
267
 
268
  with open(filepath, "rb") as f:
269
  data = f.read()
270
+ return Response(data, media_type="application/octet-stream")