alfredplpl commited on
Commit
23616f4
β€’
1 Parent(s): fa169a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -35,11 +35,10 @@ def run_normal(prompt, negative_prompt="", guidance_scale=7.5, progress=gr.Progr
35
  pooled_prompt_embeds=pooled[0:1],
36
  negative_prompt_embeds=conditioning[1:2],
37
  negative_pooled_prompt_embeds=pooled[1:2],
38
- num_inference_steps = int(steps),
39
- guidance_scale = guidance,
40
- width = width,
41
- height = height,
42
- generator = generator)
43
 
44
  return result.images[0]
45
 
 
35
  pooled_prompt_embeds=pooled[0:1],
36
  negative_prompt_embeds=conditioning[1:2],
37
  negative_pooled_prompt_embeds=pooled[1:2],
38
+ num_inference_steps = 20,
39
+ guidance_scale = guidance_scale,
40
+ width = 1344,
41
+ height = 768)
 
42
 
43
  return result.images[0]
44