Skip to content

Conversation

@mina-parham
Copy link
Contributor

@mina-parham mina-parham commented Aug 7, 2025

the app branch to test this is: transformerlab/transformerlab-app#719

the model to use: mlx-community/whisper-tiny-mlx

@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

❌ Patch coverage is 22.53521% with 55 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
transformerlab/routers/experiment/conversations.py 15.90% 37 Missing ⚠️
transformerlab/fastchat_openai_api.py 33.33% 18 Missing ⚠️

📢 Thoughts on this report? Let us know!

@mina-parham mina-parham marked this pull request as ready for review August 11, 2025 13:53


class AudioRequest(BaseModel):
class AudioSpeechRequest(BaseModel):
Copy link
Member

Choose a reason for hiding this comment

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

Preference: Maybe we call this AudioGenerationRequest just to make it clear what it is? Good call renaming as part of this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

"version": "0.0.7",
"supports": ["Text-to-Speech", "Audio"],
"model_architectures": ["MLXTextToSpeech", "StyleTTS2"],
"version": "0.0.8",
Copy link
Member

Choose a reason for hiding this comment

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

This is a big change. I'd make it at least 0.1.0. :D

stream = params.get("stream", False)

experiment_dir = get_experiments_dir()
audio_dir = params.get("audio_dir", None)
Copy link
Member

Choose a reason for hiding this comment

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

There's a security alert around this audio_dir stuff which I think is only part of this PR because of an indentation change.

It's probably not a bad idea to implement this change though. I think the AI suggested code is fine.

Copy link
Member

@dadmobile dadmobile left a comment

Choose a reason for hiding this comment

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

I couldn't start the whisper-tiny-mlx model because it didn't read in the architecture. So it thought this should run on mlx_server instead of mlx_audio_server? How do we fix this for other models...add to our gallery and set the architecture?

@aliasaria
Copy link
Member

@mina Parham to implement changes, then add model + APP

@mina
Copy link

mina commented Nov 13, 2025 via email

@mina-parham mina-parham merged commit 6c14b9d into main Nov 13, 2025
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants