Spaces:
Sleeping
Sleeping
Himanshu-AT
commited on
Commit
·
a9d7fe1
1
Parent(s):
8b821ae
remove minor bug
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ preprocess = transforms.Compose(
|
|
40 |
|
41 |
# image_np = (image_np * 255).astype(np.uint8)
|
42 |
|
43 |
-
image = Image.fromarray(image_np)
|
44 |
|
45 |
def calculate_optimal_dimensions(image: Image.Image):
|
46 |
# Extract the original dimensions
|
|
|
40 |
|
41 |
# image_np = (image_np * 255).astype(np.uint8)
|
42 |
|
43 |
+
# image = Image.fromarray(image_np)
|
44 |
|
45 |
def calculate_optimal_dimensions(image: Image.Image):
|
46 |
# Extract the original dimensions
|