Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,10 +38,6 @@ def detect_ellipses(img_path):
|
|
38 |
|
39 |
result = aamed.run_AAMED(imgG)
|
40 |
|
41 |
-
if result != "":
|
42 |
-
result = ",".join(filter(lambda s: s != "", result.split(" ")))
|
43 |
-
result = json.loads(result)
|
44 |
-
|
45 |
return [Image.fromarray(imgG), json.dumps(result)]
|
46 |
|
47 |
examples = []
|
|
|
38 |
|
39 |
result = aamed.run_AAMED(imgG)
|
40 |
|
|
|
|
|
|
|
|
|
41 |
return [Image.fromarray(imgG), json.dumps(result)]
|
42 |
|
43 |
examples = []
|