Aguilar Elizondo commited on
Commit
8013dfb
·
1 Parent(s): 4d1f863

Restore 30 inference steps for better quality

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def enhance_image_simple(
62
  negative_prompt="blurry, low quality, distorted, ugly, bad architecture",
63
  strength=strength,
64
  guidance_scale=guidance_scale,
65
- num_inference_steps=20 # Reduced for faster processing
66
  )
67
  except Exception as e:
68
  logger.error(f"AI enhancement failed: {e}", exc_info=True)
 
62
  negative_prompt="blurry, low quality, distorted, ugly, bad architecture",
63
  strength=strength,
64
  guidance_scale=guidance_scale,
65
+ num_inference_steps=30
66
  )
67
  except Exception as e:
68
  logger.error(f"AI enhancement failed: {e}", exc_info=True)