Fix: remove unsupported max_model_len param for PyPI package

This commit is contained in:
2026-01-11 17:17:48 -06:00
parent 5d69182bdf
commit 8cc9154080

View File

@@ -326,10 +326,9 @@ async def startup():
print("Loading Orpheus model (this may take a moment)...") print("Loading Orpheus model (this may take a moment)...")
from orpheus_tts import OrpheusModel from orpheus_tts import OrpheusModel
model = OrpheusModel( # Note: PyPI orpheus-speech 0.1.0 uses simpler API
model_name=ORPHEUS_MODEL, # model_name can be "medium-3b" or full HF path
max_model_len=MAX_MODEL_LEN model = OrpheusModel(model_name=ORPHEUS_MODEL)
)
print("✓ Orpheus model loaded successfully") print("✓ Orpheus model loaded successfully")