chore: display the direct command in add worker

This commit is contained in:
jialin
2024-12-23 16:33:08 +08:00
parent 4391705c9a
commit e7de1896ea
32 changed files with 359 additions and 125 deletions
+8
View File
@@ -345,3 +345,11 @@ export const getVllmCliArgs = (inputString: string) => {
return result;
};
export const modelLabels = [
{ label: 'Image', value: 'image_only' },
{ label: 'Text-to-speech', value: 'text_to_speech' },
{ label: 'Speech-to-text', value: 'speech_to_text' },
{ label: 'reranker', value: 'reranker' },
{ label: 'Embedding', value: 'embedding_only' }
];
@@ -104,6 +104,10 @@ const options = [
{
label: '--image-no-vae-tiling',
value: '--image-no-vae-tiling'
},
{
label: '--mmproj',
value: '--mmproj'
}
];