Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def process_image_check(path_input):
|
|
| 16 |
|
| 17 |
def infer_image_matting(matting_image_input):
|
| 18 |
return client.predict(
|
| 19 |
-
|
| 20 |
api_name="/infer_image_matting"
|
| 21 |
)
|
| 22 |
|
|
|
|
| 16 |
|
| 17 |
def infer_image_matting(matting_image_input):
|
| 18 |
return client.predict(
|
| 19 |
+
file=handle_file(matting_image_input),
|
| 20 |
api_name="/infer_image_matting"
|
| 21 |
)
|
| 22 |
|