huangjianwu
|
be5e1637fa
|
fix(mlx-whisper): 修正 huggingface 仓库 ID 命名
mlx-community 上 Whisper 仓库的命名实际是 'whisper-{size}-mlx'(large-v3-turbo 例外,无 -mlx 后缀)。
之前 hardcode 拼成 'mlx-community/whisper-{size}' 在 HF 上不存在,下载会 404:
Repository Not Found for url:
https://huggingface.co/api/models/mlx-community/whisper-small/revision/main.
修复:
- 在 mlx_whisper_transcriber.py 加 MLX_MODEL_MAP(已用 huggingface API 核对过命名)+ resolve_mlx_repo_id() 帮助函数
- routers/config.py 的 _do_download_mlx_whisper 与 _check ... 路径生成都改用同一份映射表
- 给 transcriber_models_status 的每条 mlx 状态加 available 字段,避免后续若有不支持的 size 时静默失败
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-07 11:59:02 +08:00 |
|
思诺特
|
30da57ddab
|
refactor(backend): 重构后端配置并优化 GPT 模型及转录功能
-移除 .env.example 中的后端专用 AI 配置
- 在 GPT 模型中添加新字段:style、extras 和 _format
- 修改转录器的 on_finish 方法调用
- 更新 GPT 提示模板,增加时间标记要求
|
2025-04-27 09:05:37 +08:00 |
|
SurfRid3r
|
a567788448
|
feat(transcriber): 更新转录器支持和模型下载逻辑
- 修改 NoteGenerator 类以支持动态选择转录器类型。
- 更新 MLXWhisperTranscriber 类,添加模型下载逻辑,确保模型存在时自动下载。
- 在 transcriber_provider.py 中优化 MLX Whisper 的环境变量处理,确保在不可用时回退到 fast-whisper。
|
2025-04-20 22:50:07 +08:00 |
|
SurfRid3r
|
369de19572
|
feat(transcriber): 添加 MLX Whisper 转录器支持
- 新增 MLXWhisperTranscriber 类,支持在 Apple 平台上进行转录。
- 更新 transcriber_provider.py,动态导入 MLX Whisper 转录器并添加相应的环境变量检查。
- 修改 .env.example 文件,更新 TRANSCRIBER_TYPE 配置说明以包含 mlx-whisper 选项。
|
2025-04-20 00:37:48 +08:00 |
|