ChevalierJoseph commited on
Commit
481d518
·
verified ·
1 Parent(s): b2e9d6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -516,7 +516,7 @@ def run_pipeline(enhanced, input_img, seed):
516
  img1 = pipe(
517
  prompt=f"[typotopiaMAJ], {enhanced}",
518
  image=input_img,
519
- num_inference_steps=15,
520
  guidance_scale=7 if input_img else 3.5,
521
  height=1536, width=1536,
522
  generator=gen,
@@ -526,7 +526,7 @@ def run_pipeline(enhanced, input_img, seed):
526
  img2 = pipe(
527
  prompt="[typotopiaMIN], Design a custom lowercase typeface inspired by the attached control image.",
528
  image=img1,
529
- num_inference_steps=15,
530
  guidance_scale=7,
531
  height=1536, width=1536,
532
  generator=gen,
@@ -536,7 +536,7 @@ def run_pipeline(enhanced, input_img, seed):
536
  img3 = pipe(
537
  prompt="[typotopiaPONCT], Design a custom punctuation typeface inspired by the attached control image.",
538
  image=img1,
539
- num_inference_steps=15,
540
  guidance_scale=7,
541
  height=1536, width=1536,
542
  generator=gen,
 
516
  img1 = pipe(
517
  prompt=f"[typotopiaMAJ], {enhanced}",
518
  image=input_img,
519
+ num_inference_steps=5,
520
  guidance_scale=7 if input_img else 3.5,
521
  height=1536, width=1536,
522
  generator=gen,
 
526
  img2 = pipe(
527
  prompt="[typotopiaMIN], Design a custom lowercase typeface inspired by the attached control image.",
528
  image=img1,
529
+ num_inference_steps=5,
530
  guidance_scale=7,
531
  height=1536, width=1536,
532
  generator=gen,
 
536
  img3 = pipe(
537
  prompt="[typotopiaPONCT], Design a custom punctuation typeface inspired by the attached control image.",
538
  image=img1,
539
+ num_inference_steps=5,
540
  guidance_scale=7,
541
  height=1536, width=1536,
542
  generator=gen,