Loading...
Loading...
Compare original and translation side by side
User: read it to me https://example.com/article用户: read it to me https://example.com/articleUser: talk to me about the weather today用户: talk to me about the weather todayuv run mlx_audio.tts.generate \
--model mlx-community/chatterbox-turbo-fp16 \
--text "Your text here" \
--play \
--file_prefix /tmp/audio_replyuv run mlx_audio.tts.generate \
--model mlx-community/chatterbox-turbo-fp16 \
--text "Your text here" \
--play \
--file_prefix /tmp/audio_reply--model mlx-community/chatterbox-turbo-fp16--play--file_prefix--exaggeration 0.3--speed 1.0--model mlx-community/chatterbox-turbo-fp16--play--file_prefix--exaggeration 0.3--speed 1.0undefinedundefinedundefinedundefineduvuvUser: read it to me https://blog.example.com/new-feature
Assistant actions:
1. WebFetch the URL
2. Extract article content
3. Generate TTS:
uv run mlx_audio.tts.generate \
--model mlx-community/chatterbox-turbo-fp16 \
--text "Here's what I found... [article summary]" \
--play --file_prefix /tmp/audio_reply_1706123456
4. Delete: rm -f /tmp/audio_reply_1706123456*.wav
5. Confirm: "Done reading the article to you."用户: read it to me https://blog.example.com/new-feature
助手操作:
1. 使用WebFetch获取URL内容
2. 提取文章内容
3. 生成TTS音频:
uv run mlx_audio.tts.generate \
--model mlx-community/chatterbox-turbo-fp16 \
--text "这是我找到的内容... [文章摘要]" \
--play --file_prefix /tmp/audio_reply_1706123456
4. 删除文件:rm -f /tmp/audio_reply_1706123456*.wav
5. 确认回复:"已为您朗读完文章。"User: talk to me about what you can help with
Assistant actions:
1. Generate conversational response text
2. Generate TTS:
uv run mlx_audio.tts.generate \
--model mlx-community/chatterbox-turbo-fp16 \
--text "Hey! So I can help you with all kinds of things..." \
--play --file_prefix /tmp/audio_reply_1706123789
3. Delete: rm -f /tmp/audio_reply_1706123789*.wav
4. (No text output needed - audio IS the response)用户: talk to me about what you can help with
助手操作:
1. 生成对话式回复文本
2. 生成TTS音频:
uv run mlx_audio.tts.generate \
--model mlx-community/chatterbox-turbo-fp16 \
--text "嘿!我可以帮你处理各种事情..." \
--play --file_prefix /tmp/audio_reply_1706123789
3. 删除文件:rm -f /tmp/audio_reply_1706123789*.wav
4. (无需文本输出 - 音频即为回复)--play--play