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.
2 parents 9bf0cf3 + 6d5adce commit 7dba714Copy full SHA for 7dba714
packages/tasks/src/model-libraries-snippets.ts
@@ -74,7 +74,7 @@ function get_base_diffusers_model(model: ModelData): string {
74
}
75
76
function get_prompt_from_diffusers_model(model: ModelData): string | undefined {
77
- return (model.widgetData?.[0] as WidgetExampleTextInput).text ?? model.cardData?.instance_prompt ?? undefined;
+ return (model.widgetData?.[0] as WidgetExampleTextInput).text ?? model.cardData?.instance_prompt;
78
79
80
export const bertopic = (model: ModelData): string[] => [
0 commit comments