radhika-minion02 commited on
Commit
6ef9c62
1 Parent(s): db79ba5

Reducing inference steps

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,9 +23,9 @@ def generate_response(prompt):
23
  negative_prompt = "bad anatomy, ugly, deformed, desfigured, distorted face, poorly drawn, blurry, low quality, low definition, lowres, out of frame, out of image, cropped, cut off, signature, watermark"
24
 
25
  # initialize the variables
26
- num_samples = 5
27
  guidance_scale = 7.5
28
- num_inference_steps = 30
29
  height = 512
30
  width = 512
31
 
 
23
  negative_prompt = "bad anatomy, ugly, deformed, desfigured, distorted face, poorly drawn, blurry, low quality, low definition, lowres, out of frame, out of image, cropped, cut off, signature, watermark"
24
 
25
  # initialize the variables
26
+ num_samples = 1
27
  guidance_scale = 7.5
28
+ num_inference_steps = 10
29
  height = 512
30
  width = 512
31