Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,6 +51,7 @@ if __name__ == "__main__":
|
|
51 |
uploaded_img = st.file_uploader(label="Upload neuronal cell image")
|
52 |
if uploaded_img is not None:
|
53 |
img = Image.open(uploaded_img)
|
|
|
54 |
st.image(img)
|
55 |
|
56 |
model_params = {
|
|
|
51 |
uploaded_img = st.file_uploader(label="Upload neuronal cell image")
|
52 |
if uploaded_img is not None:
|
53 |
img = Image.open(uploaded_img)
|
54 |
+
img = np.array(img)
|
55 |
st.image(img)
|
56 |
|
57 |
model_params = {
|