Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements-nvidia-cu128.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ resampy==0.4.3
resemble-perth==1.0.1

# --- Core Web Framework ---
fastapi>=0.100.0,<0.116.0 # starlette<1.0 needed for TemplateResponse compat
fastapi>=0.100.0,<=0.139.0
uvicorn[standard]>=0.27.0

# --- ML & Audio Libraries ---
Expand Down
2 changes: 1 addition & 1 deletion requirements-nvidia-cu130.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ resampy==0.4.3
resemble-perth==1.0.1

# --- Core Web Framework ---
fastapi>=0.100.0,<0.116.0 # starlette<1.0 needed for TemplateResponse compat
fastapi>=0.100.0,<=0.139.0
uvicorn[standard]>=0.27.0

# --- ML & Audio Libraries ---
Expand Down
2 changes: 1 addition & 1 deletion requirements-nvidia.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resampy==0.4.3
resemble-perth==1.0.1

# Core Web Framework
fastapi>=0.100.0,<0.116.0 # starlette<1.0 needed for TemplateResponse compat
fastapi>=0.100.0,<=0.139.0
uvicorn[standard]>=0.27.0

# ML & Audio Libraries
Expand Down
2 changes: 1 addition & 1 deletion requirements-rdna4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resampy==0.4.3
resemble-perth==1.0.1

# Core Web Framework
fastapi>=0.100.0,<0.116.0
fastapi>=0.100.0,<=0.139.0
uvicorn[standard]>=0.27.0

# Machine Learning & Audio
Expand Down
2 changes: 1 addition & 1 deletion requirements-rocm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resampy==0.4.3
resemble-perth==1.0.1

# Core Web Framework
fastapi>=0.100.0,<0.116.0 # starlette<1.0 needed for TemplateResponse compat
fastapi>=0.100.0,<=0.139.0
uvicorn[standard]>=0.27.0

# Machine Learning & Audio
Expand Down
2 changes: 1 addition & 1 deletion requirements-strixhalo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
chatterbox-tts @ git+https://github.com/devnen/chatterbox-v2.git@master

# Core Web Framework
fastapi
fastapi>=0.100.0,<=0.139.0
uvicorn[standard]

# Machine Learning & Audio
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resampy==0.4.3
resemble-perth==1.0.1

# --- Web Framework & Server ---
fastapi>=0.100.0,<0.116.0 # starlette<1.0 needed for TemplateResponse compat
fastapi>=0.100.0,<=0.139.0
uvicorn[standard]>=0.27.0

# --- ML & Audio Libraries ---
Expand Down
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ async def get_web_ui(request: Request):
"""Serves the main web interface (index.html)."""
logger.info("Request received for main UI page ('/').")
try:
return templates.TemplateResponse("index.html", {"request": request})
return templates.TemplateResponse(request=request, name="index.html", context={"request": request})
except Exception as e_render:
logger.error(f"Error rendering main UI page: {e_render}", exc_info=True)
return HTMLResponse(
Expand Down