Spaces:
Running
Running
Update app.py
Browse files
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(
|
| 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 |
# ---------------------
|