Update app.py
Browse files
app.py
CHANGED
@@ -187,7 +187,7 @@ def generate_with_prompt_style_guidance(prompt, style, seed=42):
|
|
187 |
|
188 |
height = 512 # default height of Stable Diffusion
|
189 |
width = 512 # default width of Stable Diffusion
|
190 |
-
num_inference_steps =
|
191 |
guidance_scale = 8 # # Scale for classifier-free guidance
|
192 |
generator = torch.manual_seed(seed) # Seed generator to create the inital latent noise
|
193 |
batch_size = 1
|
|
|
187 |
|
188 |
height = 512 # default height of Stable Diffusion
|
189 |
width = 512 # default width of Stable Diffusion
|
190 |
+
num_inference_steps = 5 # # Number of denoising steps
|
191 |
guidance_scale = 8 # # Scale for classifier-free guidance
|
192 |
generator = torch.manual_seed(seed) # Seed generator to create the inital latent noise
|
193 |
batch_size = 1
|