Spaces:
Runtime error
Runtime error
Commit
·
9ed04d4
1
Parent(s):
c74cf6f
app.py
CHANGED
@@ -41,7 +41,7 @@ def process_zebrafish_image(img):
|
|
41 |
fig.canvas.draw()
|
42 |
image_out = PIL.Image.frombytes('RGB', fig.canvas.get_width_height(),fig.canvas.tostring_rgb())
|
43 |
|
44 |
-
text_out = "Age prediction "+ str(round(age[0], 2)+" hrs post fertilization"
|
45 |
return (image_out, text_out )
|
46 |
|
47 |
css = ".output-image, .input-image {height: 40rem !important; width: 100% !important;}"
|
|
|
41 |
fig.canvas.draw()
|
42 |
image_out = PIL.Image.frombytes('RGB', fig.canvas.get_width_height(),fig.canvas.tostring_rgb())
|
43 |
|
44 |
+
text_out = "Age prediction "+ str(round(age[0], 2))+" hrs post fertilization"
|
45 |
return (image_out, text_out )
|
46 |
|
47 |
css = ".output-image, .input-image {height: 40rem !important; width: 100% !important;}"
|