Ashrafb commited on
Commit
3fc2316
·
verified ·
1 Parent(s): bba9fee

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -5
main.py CHANGED
@@ -73,8 +73,3 @@ async def process_image_endpoint(file: UploadFile = File(...)):
73
  return FileResponse(temp_file_path, media_type="image/png")
74
 
75
 
76
- app.mount("/", StaticFiles(directory="static", html=True), name="static")
77
-
78
- @app.get("/")
79
- def index() -> FileResponse:
80
- return FileResponse(path="/app/static/index.html", media_type="text/html")
 
73
  return FileResponse(temp_file_path, media_type="image/png")
74
 
75