syurein commited on
Commit
fed06ef
·
1 Parent(s): 941164e

json.loadsがなかっただけだった

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1000,7 +1000,7 @@ async def create_mask_sum_auto(image: UploadFile = File(...), risk_level: int =
1000
  # OpenCVでインペイント
1001
  inpaint_image_with_mask1(input_path, mask_path, output_path)
1002
 
1003
- return FileResponse(output_path), response
1004
 
1005
 
1006
 
 
1000
  # OpenCVでインペイント
1001
  inpaint_image_with_mask1(input_path, mask_path, output_path)
1002
 
1003
+ return FileResponse(output_path)
1004
 
1005
 
1006