Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ import os
|
|
| 13 |
app = FastAPI()
|
| 14 |
|
| 15 |
# Mount a static directory for serving images
|
| 16 |
-
app.mount("/tmp", StaticFiles(directory="
|
| 17 |
|
| 18 |
# Templates for rendering HTML
|
| 19 |
templates = Jinja2Templates(directory="templates")
|
|
|
|
| 13 |
app = FastAPI()
|
| 14 |
|
| 15 |
# Mount a static directory for serving images
|
| 16 |
+
app.mount("/tmp", StaticFiles(directory="/tmp"), name="static")
|
| 17 |
|
| 18 |
# Templates for rendering HTML
|
| 19 |
templates = Jinja2Templates(directory="templates")
|