Spaces:
Running on Zero
Running on Zero
commented update_dimensions_on_upload
Browse files
app.py
CHANGED
|
@@ -205,7 +205,8 @@ def infer(
|
|
| 205 |
original_image = input_image.convert("RGB")
|
| 206 |
|
| 207 |
# Use the new function to update dimensions
|
| 208 |
-
width, height = update_dimensions_on_upload(original_image)
|
|
|
|
| 209 |
|
| 210 |
result = pipe(
|
| 211 |
image=original_image,
|
|
|
|
| 205 |
original_image = input_image.convert("RGB")
|
| 206 |
|
| 207 |
# Use the new function to update dimensions
|
| 208 |
+
# width, height = update_dimensions_on_upload(original_image)
|
| 209 |
+
width, height = None, None
|
| 210 |
|
| 211 |
result = pipe(
|
| 212 |
image=original_image,
|