LapStore commited on
Commit
4b98217
·
1 Parent(s): c526434

modified back mGE STEP 1 try

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ async def image_step1(image_file: UploadFile = File(...),background_image: Optio
28
  input_to_type_of_filters=None
29
 
30
  if background_image and background_image.filename:
31
- contents__back = await image_file.read()
32
  image_back = Image.open(io.BytesIO(contents__back))
33
  input_to_type_of_filters = image_back
34
  else:
 
28
  input_to_type_of_filters=None
29
 
30
  if background_image and background_image.filename:
31
+ contents__back = await background_image.read()
32
  image_back = Image.open(io.BytesIO(contents__back))
33
  input_to_type_of_filters = image_back
34
  else: