Add isolated Qwen3 ASR setup test UI and transcription API
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ def file_role(filename):
|
||||
"""One classification shared by library UI and profile validation."""
|
||||
name=filename.lower();parts=PurePosixPath(name).parts
|
||||
if re.search(r'(?:^|[/_-])mmproj(?:[/_.-]|$)',name):
|
||||
role,label='vision_projector','Vision-Projektor'
|
||||
role,label=('audio_projector','Audio-Projektor') if 'qwen3-asr' in name else ('vision_projector','Vision-Projektor')
|
||||
elif 'speech_tokenizer' in parts:
|
||||
role,label='auxiliary','Sprach-Tokenizer'
|
||||
elif any(p in ('text_encoder','text_encoders') for p in parts) or re.search(r'(?:^|[/_-])(?:text.encoder|qwen3vl|t5xxl|clip_l|clip_g)(?:[/_.-]|$)',name):
|
||||
|
||||
Reference in New Issue
Block a user