Spaces:
Menyu
/
Running on Zero

Menyu commited on
Commit
d80f274
1 Parent(s): b4cfd0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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 = False,
39
- seed: int = 1,
40
- width: int = 512,
41
- height: int = 768,
42
  guidance_scale: float = 3,
43
  num_inference_steps: int = 30,
44
- randomize_seed: bool = False,
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
  ):