Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -789,7 +789,7 @@ async def create_mask_sum(image: UploadFile = File(...), risk_level: int = Form(
|
|
| 789 |
output_path = f"./output_simple_lama_{timestamp}_{unique_id}.jpg"
|
| 790 |
|
| 791 |
# OpenCVでインペイント
|
| 792 |
-
|
| 793 |
|
| 794 |
return FileResponse(output_path)
|
| 795 |
|
|
|
|
| 789 |
output_path = f"./output_simple_lama_{timestamp}_{unique_id}.jpg"
|
| 790 |
|
| 791 |
# OpenCVでインペイント
|
| 792 |
+
inpaint_image_with_mask1(input_path, mask_path, output_path)
|
| 793 |
|
| 794 |
return FileResponse(output_path)
|
| 795 |
|