Skip to content
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

When deploying the agent to the final step, the Gradio page has already appeared, but an error is reported when starting a conversation. #715

Open
6 tasks done
qxevtnuko opened this issue Dec 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@qxevtnuko
Copy link

Self Checks

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

Cloud or Self Hosted

Self Hosted (Source)

Environment Details

windows, python 3.10 , gpu3060 12g, model quantited int8(model.pth), (firefly-gan-vq-fsq-8x1024-21hz-generator.pth)no change.

Steps to Reproduce

Terminal 2

response = await iterator.anext()
File "E:\PythonProject1\fish-speech\tools\e2e_webui.py", line 125, in process_text_input
async for event in process_audio_input(
File "E:\PythonProject1\fish-speech\tools\e2e_webui.py", line 100, in process_audio_input
async for event in agent.stream(
File "E:\PythonProject1\fish-speech\tools\fish_e2e.py", line 131, in stream
sys_codes = await self.get_codes(system_audio_data, sample_rate)
File "E:\PythonProject1\fish-speech\tools\fish_e2e.py", line 118, in get_codes
codes = encode_response_data["tokens"][0]
TypeError: 'int' object is not subscriptable

Terminal 1

from .intervals import INTERVALS
File "C:\Users\Administrator.conda\envs\fish-speech\lib\site-packages\librosa\core\intervals.py", line 18, in
INTERVALS = msgpack.load(fdesc, strict_map_key=False)
File "C:\Users\Administrator.conda\envs\fish-speech\lib\site-packages\msgpack_init
.py", line 58, in unpack
return unpackb(data, **kwargs)
File "C:\Users\Administrator.conda\envs\fish-speech\lib\site-packages\msgpack\fallback.py", line 118, in unpackb
unpacker = Unpacker(None, **kwargs)
TypeError: Unpacker.init() got an unexpected keyword argument 'strict_map_key'
INFO: 127.0.0.1:52395 - "POST /v1/vqgan/encode HTTP/1.1" 500 Internal Server Error

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

@qxevtnuko qxevtnuko added the bug Something isn't working label Dec 7, 2024
@qxevtnuko qxevtnuko changed the title 部署agent到最后一步,已经出现了gradio页面,但是对话就报错 When deploying the agent to the final step, the Gradio page has already appeared, but an error is reported when starting a conversation. Dec 8, 2024
@PoTaTo-Mika
Copy link
Collaborator

please roll back to v1.4.3 to use the agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants