dolbohren commited on
Commit
dba9729
·
verified ·
1 Parent(s): 5abdb64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,12 +27,12 @@ def infer(
27
  # model_id: Optional[str] = "CompVis/stable-diffusion-v1-4",
28
  negative_prompt=gr.Text('cat, dog'),
29
  prompt: str = 'cute_animal',
30
- seed: Optional[int] = 42,
31
- randomize_seed=False,
32
  width = 128,
33
  height = 128,
34
- guidance_scale: Optional[float] = 7,
35
- num_inference_steps: Optional[int] = 20,
36
  progress=gr.Progress(track_tqdm=True),
37
  ):
38
  if randomize_seed:
 
27
  # model_id: Optional[str] = "CompVis/stable-diffusion-v1-4",
28
  negative_prompt=gr.Text('cat, dog'),
29
  prompt: str = 'cute_animal',
30
+ seed: int = 42,
31
+ randomize_seed = False,
32
  width = 128,
33
  height = 128,
34
+ guidance_scale = 7,
35
+ num_inference_steps = 20,
36
  progress=gr.Progress(track_tqdm=True),
37
  ):
38
  if randomize_seed: