Skip to content

Commit

Permalink
eslint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
theofandrich committed Sep 29, 2023
1 parent 727ff8f commit d694546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/sd-images/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export class SDNodeApi {
}

if (options.format === MEDIA_FORMAT.GIF) {
const modelFromParams = params.modelAlias ? getModelByParam(params.modelAlias): null;
const modelPath = (modelFromParams ?? options.model).path;
const modelFromParams = params.modelAlias ? getModelByParam(params.modelAlias) : null
const modelPath = (modelFromParams ?? options.model).path

const { images } = await this.client.txt2img({
prompt: params.promptWithoutParams,
Expand Down

0 comments on commit d694546

Please sign in to comment.