Spaces:
Runtime error
Runtime error
JustSkyDev commited on
Commit ·
a4ef1ef
1
Parent(s): d47850c
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def process_image(input_image):
|
|
| 18 |
if not isinstance(input_image, Image.Image):
|
| 19 |
input_image = Image.fromarray(input_image.astype('uint8'), 'RGB')
|
| 20 |
|
| 21 |
-
output_image = Segment(input_image
|
| 22 |
return output_image
|
| 23 |
|
| 24 |
@app.get("/")
|
|
|
|
| 18 |
if not isinstance(input_image, Image.Image):
|
| 19 |
input_image = Image.fromarray(input_image.astype('uint8'), 'RGB')
|
| 20 |
|
| 21 |
+
output_image = Segment(input_image)
|
| 22 |
return output_image
|
| 23 |
|
| 24 |
@app.get("/")
|