Khan19970 commited on
Commit
c73e9ee
·
verified ·
1 Parent(s): 386ed75

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -263,6 +263,6 @@ buf = io.BytesIO()
263
  result.save(buf, format=“JPEG”, quality=92)
264
  buf.seek(0)
265
  return StreamingResponse(buf, media_type=“image/jpeg”)
266
- except Exception as e:
267
  logger.error(traceback.format_exc())
268
  raise HTTPException(status_code=500, detail=str(e))
 
263
  result.save(buf, format=“JPEG”, quality=92)
264
  buf.seek(0)
265
  return StreamingResponse(buf, media_type=“image/jpeg”)
266
+ except Exception as e:.
267
  logger.error(traceback.format_exc())
268
  raise HTTPException(status_code=500, detail=str(e))