Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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=
|
| 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=
|
| 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,
|