Skip to content

Commit

Permalink
more models added
Browse files Browse the repository at this point in the history
  • Loading branch information
SwarnenduG07 committed Nov 15, 2024
1 parent da45077 commit ab6a234
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion app/(dashboard)/(routes)/image/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,15 @@ export const amountOptions = [
lable:"Model-> Stable-diffusion-3-M"
},
{
value: "https://api-inference.huggingface.co/models/SG161222/RealVisXL_V4.0",
value: "https://api-inference.huggingface.co/models/DiegoJR1973/NSFW-TrioHMH-Flux",
lable: "RealV-Mk-1"
},
{
value: "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev",
lable: "Flux V1"
},
{
value: "https://api-inference.huggingface.co/models/prithivMLmods/Fashion-Hut-Modeling-LoRA",
lable: "Lora-V1"
},
]
5 changes: 3 additions & 2 deletions app/api/image/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ function fetchWithTimeout(
]);
}
const modelUrl = {
"RealV-Mk-1": "https://api-inference.huggingface.co/models/SG161222/RealVisXL_V4.0",
"RealV-Mk-1": "https://api-inference.huggingface.co/models/DiegoJR1973/NSFW-TrioHMH-Flux",
"Stable-diffusion-3-M": "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-large-turbo",
"Flux V1": "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
"Flux V1": "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev",
"Lora- M1": "https://api-inference.huggingface.co/models/prithivMLmods/Fashion-Hut-Modeling-LoRA"

};

Expand Down

0 comments on commit ab6a234

Please sign in to comment.