Fix model details modal and make running models primary page
This commit is contained in:
@@ -53,12 +53,18 @@ templates_path = Path(__file__).parent / "app" / "web" / "templates"
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
"""Redirect alla dashboard"""
|
||||
return FileResponse(templates_path / "index.html")
|
||||
"""Pagina principale: modelli residenti in memoria (ollama ps)."""
|
||||
return FileResponse(templates_path / "models_running.html")
|
||||
|
||||
@app.get("/dashboard")
|
||||
async def dashboard():
|
||||
"""Dashboard principale"""
|
||||
"""Alias legacy della pagina principale."""
|
||||
return FileResponse(templates_path / "models_running.html")
|
||||
|
||||
|
||||
@app.get("/models-available")
|
||||
async def models_available_page():
|
||||
"""Pagina modelli disponibili su disco."""
|
||||
return FileResponse(templates_path / "index.html")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user