LapStore commited on
Commit
7b7dd7f
1 Parent(s): d6902ce
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ async def image_step1(image_file: UploadFile = File(...),type_of_filters: str =
27
  contents = await image_file.read()
28
  image = Image.open(io.BytesIO(contents))
29
 
30
- produced_image=SegmenterBackground().Back_step1(image,type_of_filters,blur_radius)
31
 
32
  # Save the processed image to a temporary file
33
  output_file_path_tmp = "/tmp/tmp_processed_image.png"
 
27
  contents = await image_file.read()
28
  image = Image.open(io.BytesIO(contents))
29
 
30
+ produced_image=SegmenterBackground().Back_step1(image,type_of_filters,int(blur_radius))[0]
31
 
32
  # Save the processed image to a temporary file
33
  output_file_path_tmp = "/tmp/tmp_processed_image.png"