Skip to content

Commit

Permalink
fix(gui): make sure models have correct prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed May 20, 2023
1 parent 52b7521 commit 4ba1768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/src/components/tab/Models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function Models() {
newItem={(l, s) => ({
format: 'safetensors' as SafetensorFormat,
label: l,
name: kebabCase(l),
name: `diffusion-${kebabCase(l)}`,
source: s,
})}
removeItem={(m) => removeDiffusionModel(m)}
Expand All @@ -165,7 +165,7 @@ export function Models() {
newItem={(l, s) => ({
format: 'safetensors' as SafetensorFormat,
label: l,
name: kebabCase(l),
name: `correction-${kebabCase(l)}`,
source: s,
})}
removeItem={(m) => removeCorrectionModel(m)}
Expand All @@ -184,7 +184,7 @@ export function Models() {
newItem={(l, s) => ({
format: 'safetensors' as SafetensorFormat,
label: l,
name: kebabCase(l),
name: `upscaling-${kebabCase(l)}`,
scale: 4,
source: s,
})}
Expand Down

0 comments on commit 4ba1768

Please sign in to comment.