Skip to content

Commit

Permalink
Remove StableDiffusionXlV0 from the Model.Parse method
Browse files Browse the repository at this point in the history
  • Loading branch information
François Bouteruche committed May 14, 2024
1 parent e16fbdb commit 5ee4054
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Rockhead.Extensions/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public static Model Parse(string modelId) =>
"cohere.embed-multilingual-v3" => new EmbedMultilingualV3(),
"meta.llama2-13b-chat-v1" => new Llama213BChatV1(),
"meta.llama2-70b-chat-v1" => new Llama270BChatV1(),
"stability.stable-diffusion-xl-v0" => new StableDiffusionXlV0(),
"stability.stable-diffusion-xl-v1" => new StableDiffusionXlV1(),
_ => throw new ArgumentException($"{modelId} is not a supported or valid model Id")
};
Expand Down

0 comments on commit 5ee4054

Please sign in to comment.