Open sipie800 opened 1 week ago
please use
python -m tools.api --llama-checkpoint-path checkpoints/fish-agent-v0.1-3b/ --mode agent
to run the api
that's the line I run and fail before this. It throws an error says it can't find tools.api
---- Replied Message ---- | From | @.> | | Date | 11/09/2024 16:00 | | To | fishaudio/fish-speech @.> | | Cc | neve33210 @.>, Author @.> | | Subject | Re: [fishaudio/fish-speech] ERROR: Error loading ASGI app. Could not import module "tools.api". (Issue #672) |
please use
python -m tools.api --llama-checkpoint-path checkpoints/fish-agent-v0.1-3b/ --mode agent
to run the api
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
export PYTHONPATH=$PWD
Self Checks
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