-
-
Notifications
You must be signed in to change notification settings - Fork 499
Fix audio mlx server connect error #1057
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
Conversation
dadmobile
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ruff errors seem legit.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
| lang_code = params.get("lang_code", None) | ||
| stream = params.get("stream", False) | ||
|
|
||
| experiment_dir = get_experiments_dir() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a suggestion but I think this doesnt work because the lab context getting set when this file runs is not passed on to the uvicorn app that runs from this. I do set a lab context so the get_experiments_dir should've worked if it was running directly in this file. Do you think a better approach would be passing in experiments dir through the main() function by calling this function there? Or does that not work?
I'm just concerned if plugin_harness did not set the context correctly for this case and was wanting to get to the core of the issue
dadmobile
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for now. There are two bugs still but I will file separate tickets for those:
- it keeps creating output_audio.wav and overwriting the last generated file
- downloads come with a .mp3 filename but are actually a .wav
No description provided.