LN1996 commited on
Commit
d6644e5
·
1 Parent(s): 611d8b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def generate_with_embs(text_embeddings, text_input, seed):
101
 
102
  height = 512 # default height of Stable Diffusion
103
  width = 512 # default width of Stable Diffusion
104
- num_inference_steps = 1 # Number of denoising steps
105
  guidance_scale = 7.5 # Scale for classifier-free guidance
106
  generator = torch.manual_seed(seed) # Seed generator to create the inital latent noise
107
  batch_size = 1
 
101
 
102
  height = 512 # default height of Stable Diffusion
103
  width = 512 # default width of Stable Diffusion
104
+ num_inference_steps = 30 # Number of denoising steps
105
  guidance_scale = 7.5 # Scale for classifier-free guidance
106
  generator = torch.manual_seed(seed) # Seed generator to create the inital latent noise
107
  batch_size = 1