Update main.py
Browse files
main.py
CHANGED
|
@@ -37,7 +37,7 @@ async def predict(
|
|
| 37 |
img_byte_arr.seek(0)
|
| 38 |
return StreamingResponse(img_byte_arr, media_type="image/png")
|
| 39 |
|
| 40 |
-
app.mount("/", StaticFiles(directory="
|
| 41 |
|
| 42 |
@app.get("/")
|
| 43 |
def index() -> FileResponse:
|
|
|
|
| 37 |
img_byte_arr.seek(0)
|
| 38 |
return StreamingResponse(img_byte_arr, media_type="image/png")
|
| 39 |
|
| 40 |
+
app.mount("/", StaticFiles(directory="AB", html=True), name="static")
|
| 41 |
|
| 42 |
@app.get("/")
|
| 43 |
def index() -> FileResponse:
|