style: ui for no data in table list
This commit is contained in:
@@ -5,7 +5,7 @@ import vllmParameters from './vllm-parameters';
|
||||
export const backendOptionsMap = {
|
||||
llamaBox: 'llama-box',
|
||||
vllm: 'vLLM',
|
||||
voxBox: 'vox-box',
|
||||
voxBox: 'VoxBox',
|
||||
ascendMindie: 'MindIE',
|
||||
custom: 'Custom'
|
||||
};
|
||||
|
||||
@@ -13,12 +13,6 @@ export const modalConfig: Record<
|
||||
width: 'calc(100vw - 220px)',
|
||||
source: modelSourceMap.huggingface_value
|
||||
},
|
||||
ollama_library: {
|
||||
show: true,
|
||||
width: 600,
|
||||
isGGUF: true,
|
||||
source: modelSourceMap.ollama_library_value
|
||||
},
|
||||
modelscope: {
|
||||
show: true,
|
||||
width: 'calc(100vw - 220px)',
|
||||
|
||||
@@ -264,3 +264,14 @@ export interface AccessControlFormData {
|
||||
access_policy: 'public' | 'authed' | 'allowed_users';
|
||||
users: { id: number }[];
|
||||
}
|
||||
|
||||
export interface BackendItem {
|
||||
backend_name: string;
|
||||
from_config: boolean;
|
||||
default_version: string;
|
||||
default_backend_param: string[];
|
||||
versions: {
|
||||
version: string;
|
||||
is_deprecated: boolean;
|
||||
}[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user