bluenevus commited on
Commit
974857a
·
verified ·
1 Parent(s): 24b06d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -120,9 +120,10 @@ def generate_image(stability_api_key, enhanced_prompt, style, negative_prompt):
120
  "width": 1024,
121
  "height": 1024,
122
  "num_images": 1,
123
- "steps": 6, # Slightly increased from 4
124
- "cfg_scale": 8, # Increased from default
125
- "sampler": "K_EULER_ANCESTRAL"
 
126
  }
127
 
128
  try:
 
120
  "width": 1024,
121
  "height": 1024,
122
  "num_images": 1,
123
+ "steps": 20, # Increased steps for DPM++ 2S Ancestral
124
+ "cfg_scale": 8,
125
+ "sampler": "DPM_2S_ANCESTRAL", # Changed to DPM++ 2S Ancestral
126
+ "scheduler": "SGM_UNIFORM" # Added scheduler parameter
127
  }
128
 
129
  try: