Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,8 @@ if __name__ == "__main__":
|
|
46 |
st.title("Sartorius Cell Segmentation")
|
47 |
|
48 |
uploaded_img = st.file_uploader(label="Upload neuronal cell image")
|
49 |
-
|
|
|
50 |
segment = st.button("Perform segmentation")
|
51 |
if uploaded_img is not None and segment:
|
52 |
img = Image.open(uploaded_img)
|
|
|
46 |
st.title("Sartorius Cell Segmentation")
|
47 |
|
48 |
uploaded_img = st.file_uploader(label="Upload neuronal cell image")
|
49 |
+
if uploaded_img is not None:
|
50 |
+
st.image(uploaded_img)
|
51 |
segment = st.button("Perform segmentation")
|
52 |
if uploaded_img is not None and segment:
|
53 |
img = Image.open(uploaded_img)
|