dolbohren commited on
Commit
ae602c3
·
verified ·
1 Parent(s): 8fa5041

Update app.py

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