Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,7 +81,7 @@ def process_slide(slide_path):
|
|
| 81 |
|
| 82 |
thumbnail = slide.get_thumbnail((512, 512))
|
| 83 |
|
| 84 |
-
image = expand2square(thumbnail)
|
| 85 |
|
| 86 |
return process_image(image)
|
| 87 |
|
|
|
|
| 81 |
|
| 82 |
thumbnail = slide.get_thumbnail((512, 512))
|
| 83 |
|
| 84 |
+
image = expand2square(thumbnail, "white")
|
| 85 |
|
| 86 |
return process_image(image)
|
| 87 |
|