Skip to content

Commit

Permalink
Try minor upgrade (removing one post processing)
Browse files Browse the repository at this point in the history
  • Loading branch information
exatombe committed Jan 5, 2024
1 parent fa01fdb commit 24ee2f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/bot/commands/ai/advanced/imagine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export default async function AdvancedImagine(
width: width,
post_processing: [
ModelGenerationInputPostProcessingTypes.RealESRGAN_x4plus,
ModelGenerationInputPostProcessingTypes.GFPGAN,
],
karras: true,
tiling: false,
Expand Down
3 changes: 1 addition & 2 deletions src/bot/commands/ai/imagine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,12 @@ export default async function Imagine(
let prompt: ImageGenerationInput = {
prompt: image + "### " + negative_prompt,
params: {
sampler_name: ModelGenerationInputStableSamplers.k_dpm_adaptive,
sampler_name: ModelGenerationInputStableSamplers.k_euler,
cfg_scale: 30,
height: 512,
width: 512,
post_processing: [
ModelGenerationInputPostProcessingTypes.RealESRGAN_x4plus,
ModelGenerationInputPostProcessingTypes.NMKD_Siax
],
clip_skip: 2,
facefixer_strength: 1,
Expand Down

0 comments on commit 24ee2f0

Please sign in to comment.