chore: set source as local_path deploy from model files

This commit is contained in:
jialin
2025-03-25 21:24:03 +08:00
parent 8f6c1d0e47
commit 3bc10291c4
8 changed files with 28 additions and 17 deletions
+3 -2
View File
@@ -23,7 +23,8 @@ const icons = {
HF: React.createElement(IconFont, { type: 'icon-huggingface' }),
Ollama: React.createElement(IconFont, { type: 'icon-ollama' }),
ModelScope: React.createElement(IconFont, { type: 'icon-tu2' }),
LocalPath: React.createElement(IconFont, { type: 'icon-hard-disk' })
LocalPath: React.createElement(IconFont, { type: 'icon-hard-disk' }),
Launch: React.createElement(IconFont, { type: 'icon-rocket-launch' })
};
export const modalConfig: Record<
@@ -192,7 +193,7 @@ export const modelFileActions = [
{
label: 'common.button.deploy',
key: 'deploy',
icon: icons.ThunderboltOutlined
icon: icons.Launch
},
{
label: 'resources.modelfiles.retry.download',