Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -34,14 +34,14 @@ def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
|
34 |
@spaces.GPU
|
35 |
def infer(
|
36 |
prompt: str,
|
37 |
-
negative_prompt: str = "",
|
38 |
-
use_negative_prompt: bool =
|
39 |
-
seed: int =
|
40 |
-
width: int =
|
41 |
-
height: int =
|
42 |
guidance_scale: float = 3,
|
43 |
num_inference_steps: int = 30,
|
44 |
-
randomize_seed: bool =
|
45 |
use_resolution_binning: bool = True,
|
46 |
progress=gr.Progress(track_tqdm=True),
|
47 |
):
|
|
|
34 |
@spaces.GPU
|
35 |
def infer(
|
36 |
prompt: str,
|
37 |
+
negative_prompt: str = "lowres, {bad}, error, fewer, extra, missing, worst quality, jpeg artifacts, bad quality, watermark, unfinished, displeasing, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]",
|
38 |
+
use_negative_prompt: bool = True,
|
39 |
+
seed: int = 7,
|
40 |
+
width: int = 1024,
|
41 |
+
height: int = 1536,
|
42 |
guidance_scale: float = 3,
|
43 |
num_inference_steps: int = 30,
|
44 |
+
randomize_seed: bool = True,
|
45 |
use_resolution_binning: bool = True,
|
46 |
progress=gr.Progress(track_tqdm=True),
|
47 |
):
|