Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +4 -0
app/main.py
CHANGED
|
@@ -95,6 +95,10 @@ app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
|
| 95 |
# Templates
|
| 96 |
templates = Jinja2Templates(directory="app/templates")
|
| 97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
# Include API routes
|
| 99 |
app.include_router(router)
|
| 100 |
|
|
|
|
| 95 |
# Templates
|
| 96 |
templates = Jinja2Templates(directory="app/templates")
|
| 97 |
|
| 98 |
+
logger.info(f"[DEBUG] templates type = {type(templates)}")
|
| 99 |
+
logger.info(f"[DEBUG] templates dir = app/templates")
|
| 100 |
+
|
| 101 |
+
|
| 102 |
# Include API routes
|
| 103 |
app.include_router(router)
|
| 104 |
|