Update main.py
Browse files
main.py
CHANGED
|
@@ -88,7 +88,7 @@ async def process_image(file: UploadFile = File(...)):
|
|
| 88 |
os.remove(temp_file_path)
|
| 89 |
|
| 90 |
# Mount static files directory
|
| 91 |
-
app.mount("/", StaticFiles(directory="
|
| 92 |
|
| 93 |
# Define index route
|
| 94 |
@app.get("/")
|
|
|
|
| 88 |
os.remove(temp_file_path)
|
| 89 |
|
| 90 |
# Mount static files directory
|
| 91 |
+
app.mount("/", StaticFiles(directory="AB", html=True), name="static")
|
| 92 |
|
| 93 |
# Define index route
|
| 94 |
@app.get("/")
|