LapStore commited on
Commit ·
4b98217
1
Parent(s): c526434
modified back mGE STEP 1 try
Browse files
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
|
| 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:
|