Centralize image family runtime and workflow adapters
This commit is contained in:
1 parent
7826388cde
commit
b5ee7c1e01
7 files changed
+51
-19
No files matched your search
+3
-3
@@ -1,7 +1,7 @@
|
||||
"""Read-only, conservative mapping to Deck's maintained execution adapters."""
|
||||
from catalog import file_role
|
||||
from stt import supported as stt_supported
|
||||
from profiles import image_recipe, video_recipe
|
||||
from profiles import image_recipe, image_adapter, video_recipe
|
||||
from tts_runtime import REPO, REVISION
|
||||
|
||||
def _assess(model, installed, profile=None):
|
||||
@@ -16,8 +16,8 @@ def _assess(model, installed, profile=None):
|
||||
result['family']='Qwen3-ASR 0.6B'
|
||||
result.update(runtime='llama.cpp · Qwen3-ASR auf CPU',route='#stt-runtime',components=['Passender Audio-Projektor (unter Einrichten herunterladen)'])
|
||||
elif kind=='image' and image_recipe(model):
|
||||
result['family']='FLUX.2 Klein 9B' if 'FLUX' in filename.upper() else 'Qwen Image 2.1'
|
||||
result.update(runtime='ComfyUI + ComfyUI-GGUF',route='#image-runtime',components=[x['label'] for x in image_recipe(model).values()])
|
||||
result['family']=image_adapter(model)['label']
|
||||
result.update(runtime=image_adapter(model)['runtime'],route='#image-runtime',components=[x['label'] for x in image_recipe(model).values()])
|
||||
elif kind=='audio' and repo==REPO and filename=='model.safetensors' and model.get('revision')==REVISION:
|
||||
result['family']='Qwen3-TTS CustomVoice'
|
||||
result.update(runtime='Qwen3-TTS CustomVoice',route='#tts-runtime',components=['Vollständiges Modellpaket und Sprach-Tokenizer (im Einrichtungsassistenten enthalten)'])
|
||||
|
||||
Reference in new issue
Block a user