Update app.py
Browse files
app.py
CHANGED
|
@@ -46,8 +46,7 @@ def predict(dict, prompt):
|
|
| 46 |
image_base64_file = convert_mask_image_to_base64_string(init_image)
|
| 47 |
mask_base64_file = convert_mask_image_to_base64_string(mask)
|
| 48 |
|
| 49 |
-
|
| 50 |
-
gen_img = gen_fill_api_call(image_base64_file, mask_base64_file, mask_type)
|
| 51 |
|
| 52 |
return gen_img
|
| 53 |
|
|
|
|
| 46 |
image_base64_file = convert_mask_image_to_base64_string(init_image)
|
| 47 |
mask_base64_file = convert_mask_image_to_base64_string(mask)
|
| 48 |
|
| 49 |
+
gen_img = gen_fill_api_call(image_base64_file, mask_base64_file, prompt)
|
|
|
|
| 50 |
|
| 51 |
return gen_img
|
| 52 |
|