fish-speech
fish-speech copied to clipboard
ERROR: Error loading ASGI app. Could not import module "tools.api".
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
following your instructions, and run python tools/api.py --llama-checkpoint-path checkpoints/fish-agent-v0.1-3b/ --mode agent.
and the error happens without more infomations about what the error exactly is. If the error is catched, I can solve myself quite easily. IMO however you are using kui which just swallow the traceback of python, then makes it difficult to debug. BTW I run python tools/webui.py without errors
Steps to Reproduce
python tools/api.py --llama-checkpoint-path checkpoints/fish-agent-v0.1-3b/ --mode agent.
✔️ Expected Behavior
run api
❌ Actual Behavior
nothing