Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ tokenizer = AutoTokenizer.from_pretrained(
|
|
| 36 |
)
|
| 37 |
|
| 38 |
|
| 39 |
-
def preprocessing(image, image_size=
|
| 40 |
"""
|
| 41 |
Apply enhancement filters and pad the image to match the target size while keeping full content.
|
| 42 |
"""
|
|
|
|
| 36 |
)
|
| 37 |
|
| 38 |
|
| 39 |
+
def preprocessing(image, image_size=448):
|
| 40 |
"""
|
| 41 |
Apply enhancement filters and pad the image to match the target size while keeping full content.
|
| 42 |
"""
|