Skip to content

fix(qwen-tts): duplicate instruct argument in voice design mode#8842

Merged
mudler merged 1 commit intomudler:masterfrom
Weathercold:fix/qwen-tts-duplicate-instruct
Mar 8, 2026
Merged

fix(qwen-tts): duplicate instruct argument in voice design mode#8842
mudler merged 1 commit intomudler:masterfrom
Weathercold:fix/qwen-tts-duplicate-instruct

Conversation

@Weathercold
Copy link
Copy Markdown
Contributor

Description

Don't pass instruct because it is added to kwargs

Fixes the error qwen_tts.inference.qwen3_tts_model.Qwen3TTSModel.generate_voice_design() got multiple values for keyword argument 'instruct'

To replicate the error, follow the example on the website. I'm surprised no one realized it doesn't work

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 8, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 0121888
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/69accbf9f34f320008ac544a
😎 Deploy Preview https://deploy-preview-8842--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Don't pass instruct because it is added to kwargs

Fixes the error `qwen_tts.inference.qwen3_tts_model.Qwen3TTSModel.generate_voice_design() got multiple values for keyword argument 'instruct'`

Signed-off-by: Weathercold <weathercold.scr@proton.me>
@Weathercold Weathercold force-pushed the fix/qwen-tts-duplicate-instruct branch from f4a7e0c to 0121888 Compare March 8, 2026 01:08
Copy link
Copy Markdown
Owner

@mudler mudler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch! I'm not sure how that slipped through, thanks!

@mudler mudler merged commit f347495 into mudler:master Mar 8, 2026
5 checks passed
@mudler mudler added the bug Something isn't working label Mar 14, 2026
localai-bot pushed a commit to localai-bot/LocalAI that referenced this pull request Mar 25, 2026
…er#8842)

Don't pass instruct because it is added to kwargs

Fixes the error `qwen_tts.inference.qwen3_tts_model.Qwen3TTSModel.generate_voice_design() got multiple values for keyword argument 'instruct'`

Signed-off-by: Weathercold <weathercold.scr@proton.me>
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

Successfully merging this pull request may close these issues.

2 participants