Update main.py
Browse files
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 |
|
|
|
|
|
|
|
|
|
|