LapStore
commited on
Commit
·
9669421
1
Parent(s):
549fefa
debugging
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ async def tmp_function(type_of_filters: str = Form(...), blur_radius: str = Form
|
|
28 |
|
29 |
@app.post('/imageStep1')
|
30 |
async def image_step1(image_file: UploadFile = File(...),background_image: Optional [UploadFile] = File(None),type_of_filters: str = Form(...), blur_radius: str = Form(...)):
|
31 |
-
return {"type ":type_of_filters ,"radius":blur_radius,"image":image_file,"back":background_image}
|
32 |
input_to_type_of_filters=None
|
33 |
|
34 |
if background_image and background_image.filename:
|
|
|
28 |
|
29 |
@app.post('/imageStep1')
|
30 |
async def image_step1(image_file: UploadFile = File(...),background_image: Optional [UploadFile] = File(None),type_of_filters: str = Form(...), blur_radius: str = Form(...)):
|
31 |
+
#return {"type ":type_of_filters ,"radius":blur_radius,"image":image_file,"back":background_image}
|
32 |
input_to_type_of_filters=None
|
33 |
|
34 |
if background_image and background_image.filename:
|