fish-speech icon indicating copy to clipboard operation
fish-speech copied to clipboard

add '--workers' args for tools/api_server.py,i cannot run it

Open suchaunzhi opened this issue 2 months ago • 6 comments

Self Checks

  • [X] This template is only for bug reports. For questions, please visit Discussions.
  • [X] I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
  • [X] I have searched for existing issues, including closed ones. Search issues
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template and fill in all required fields.

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

suchaunzhi avatar Dec 10 '24 07:12 suchaunzhi