Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,13 +69,13 @@ def generate(
|
|
| 69 |
negative_prompt: str = "",
|
| 70 |
use_negative_prompt: bool = False,
|
| 71 |
seed: int = 0,
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
width: int = 1920,
|
| 75 |
-
height: int = 1080,
|
| 76 |
guidance_scale: float = 3,
|
| 77 |
-
randomize_seed: bool = True,
|
| 78 |
-
|
| 79 |
progress=gr.Progress(track_tqdm=True),
|
| 80 |
):
|
| 81 |
|
|
@@ -91,9 +91,9 @@ def generate(
|
|
| 91 |
width=width,
|
| 92 |
height=height,
|
| 93 |
guidance_scale=guidance_scale,
|
| 94 |
-
num_inference_steps=
|
| 95 |
#num_inference_steps=50,
|
| 96 |
-
num_images_per_prompt=
|
| 97 |
#cross_attention_kwargs={"scale": 2.00},
|
| 98 |
cross_attention_kwargs={"scale": 0.65},
|
| 99 |
output_type="pil",
|
|
|
|
| 69 |
negative_prompt: str = "",
|
| 70 |
use_negative_prompt: bool = False,
|
| 71 |
seed: int = 0,
|
| 72 |
+
width: int = 1024,
|
| 73 |
+
height: int = 1024,
|
| 74 |
+
#width: int = 1920,
|
| 75 |
+
#height: int = 1080,
|
| 76 |
guidance_scale: float = 3,
|
| 77 |
+
#randomize_seed: bool = True,
|
| 78 |
+
randomize_seed: bool = False,
|
| 79 |
progress=gr.Progress(track_tqdm=True),
|
| 80 |
):
|
| 81 |
|
|
|
|
| 91 |
width=width,
|
| 92 |
height=height,
|
| 93 |
guidance_scale=guidance_scale,
|
| 94 |
+
num_inference_steps=20,
|
| 95 |
#num_inference_steps=50,
|
| 96 |
+
num_images_per_prompt=4,
|
| 97 |
#cross_attention_kwargs={"scale": 2.00},
|
| 98 |
cross_attention_kwargs={"scale": 0.65},
|
| 99 |
output_type="pil",
|