-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add '--workers' args for tools/api_server.py,i cannot run it #732
Comments
I got the same issue if --workers is larger than 1, any update for fixing it? |
You may refer to this code https://github.com/fishaudio/fish-speech/blob/v1.4.3/tools/api.py |
can not work, errors: INFO: Uvicorn running on http://127.0.0.1:8080 (Press CTRL+C to quit) |
meh, I tested in Oct. 2024, it is weird that it doesn't work now. I neeeeed help too ( |
I write a script with fastapi, it doesn't work ,too |
Let's fix it by turn to use |
Self Checks
Cloud or Self Hosted
Self Hosted (Source)
Environment Details
Python=3.10 Ubuntu
Steps to Reproduce
for
python tools/api_server.py --listen="0.0.0.0:9003" --workers=3
I get the error,and it does not run.
WARNING: You must pass the application as an import string to enable 'reload' or 'workers'.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: