Gladiator commited on
Commit
822e118
·
1 Parent(s): 5058c4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- st.image(uploaded_img)
 
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)