Akane710 commited on
Commit
c3a753a
·
verified ·
1 Parent(s): 480d11a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
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})