fix: disable vox-box item when deploy ollama model
This commit is contained in:
@@ -278,7 +278,7 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
||||
{
|
||||
label: 'vox-box',
|
||||
value: backendOptionsMap.voxBox,
|
||||
disabled: false
|
||||
disabled: source === modelSourceMap.ollama_library_value
|
||||
}
|
||||
]}
|
||||
disabled={
|
||||
|
||||
@@ -113,8 +113,8 @@ export const ImageParamsConfig: ParamsSchema[] = [
|
||||
name: 'size',
|
||||
options: [
|
||||
{ label: 'playground.params.custom', value: 'custom', locale: true },
|
||||
{ label: '256x256', value: '256x256' },
|
||||
{ label: '512x512', value: '512x512' },
|
||||
{ label: '768x1024', value: '768x1024' },
|
||||
{ label: '1024x1024', value: '1024x1024' }
|
||||
],
|
||||
description: {
|
||||
|
||||
Reference in New Issue
Block a user