d0tpy commited on
Commit
d0a4bd9
·
verified ·
1 Parent(s): 28eb981

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -44,8 +44,7 @@ async def enhance_image(
44
  img_byte_arr = BytesIO()
45
  enhanced_image.save(img_byte_arr, format='PNG')
46
  img_byte_arr.seek(0)
47
-
48
- # Stream the enhanced image back to the client
49
  return StreamingResponse(img_byte_arr, media_type="image/png")
50
 
51
  except Exception as e:
 
44
  img_byte_arr = BytesIO()
45
  enhanced_image.save(img_byte_arr, format='PNG')
46
  img_byte_arr.seek(0)
47
+
 
48
  return StreamingResponse(img_byte_arr, media_type="image/png")
49
 
50
  except Exception as e: