We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00f6607 commit 6d5adceCopy full SHA for 6d5adce
packages/tasks/src/model-libraries-snippets.ts
@@ -72,7 +72,7 @@ function get_base_diffusers_model(model: ModelData): string {
72
}
73
74
function get_prompt_from_diffusers_model(model: ModelData): string | undefined {
75
- return (model.widgetData?.[0] as WidgetExampleTextInput).text ?? model.cardData?.instance_prompt ?? undefined;
+ return (model.widgetData?.[0] as WidgetExampleTextInput).text ?? model.cardData?.instance_prompt;
76
77
78
export const bertopic = (model: ModelData): string[] => [
0 commit comments