Fix: remove unsupported max_model_len param for PyPI package
This commit is contained in:
7
main.py
7
main.py
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user