mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 01:09:46 +00:00
Missing model download dialog test (#656)
* Test prep * Add missing model dialog test * Basic test of download model * Add comment * Adjust setting in test * Change download dir to not interfere with other tests
This commit is contained in:
@@ -227,6 +227,20 @@ export const useSettingStore = defineStore('setting', {
|
||||
type: 'hidden',
|
||||
defaultValue: 'cover'
|
||||
})
|
||||
|
||||
app.ui.settings.addSetting({
|
||||
id: 'Comfy.Workflow.ModelDownload.AllowedSources',
|
||||
name: 'Allowed model download sources',
|
||||
type: 'hidden',
|
||||
defaultValue: ['https://huggingface.co/', 'https://civitai.com/']
|
||||
})
|
||||
|
||||
app.ui.settings.addSetting({
|
||||
id: 'Comfy.Workflow.ModelDownload.AllowedSuffixes',
|
||||
name: 'Allowed model download suffixes',
|
||||
type: 'hidden',
|
||||
defaultValue: ['.safetensors', '.sft']
|
||||
})
|
||||
},
|
||||
|
||||
set<K extends keyof Settings>(key: K, value: Settings[K]) {
|
||||
|
||||
Reference in New Issue
Block a user