Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -21,7 +21,6 @@ async def compress_image(image_url: str):
|
|
| 21 |
try:
|
| 22 |
# Apply Cloudinary transformations to compress the image
|
| 23 |
optimize_url = cloudinary_url(image_url, fetch_format="auto", quality="auto")
|
| 24 |
-
print(optimize_url)
|
| 25 |
|
| 26 |
# Return the secure Cloudinary URL of the compressed image
|
| 27 |
return JSONResponse(content={'compressed_image_url': optimize_url})
|
|
|
|
| 21 |
try:
|
| 22 |
# Apply Cloudinary transformations to compress the image
|
| 23 |
optimize_url = cloudinary_url(image_url, fetch_format="auto", quality="auto")
|
|
|
|
| 24 |
|
| 25 |
# Return the secure Cloudinary URL of the compressed image
|
| 26 |
return JSONResponse(content={'compressed_image_url': optimize_url})
|