ammariii08 commited on
Commit
9862679
·
verified ·
1 Parent(s): 9193ad6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -452,7 +452,7 @@ def predict(
452
  # Apply sharpness enhancement.
453
  if isinstance(image, np.ndarray):
454
  pil_image = Image.fromarray(image)
455
- enhanced_image = ImageEnhance.Sharpness(pil_image).enhance(1.5)
456
  image = np.array(enhanced_image)
457
 
458
  # ---------------------
 
452
  # Apply sharpness enhancement.
453
  if isinstance(image, np.ndarray):
454
  pil_image = Image.fromarray(image)
455
+ enhanced_image = ImageEnhance.Sharpness(pil_image).enhance(2)
456
  image = np.array(enhanced_image)
457
 
458
  # ---------------------