fbeckk commited on
Commit
70b0e1b
1 Parent(s): f546391

feat(app): improved visualization of image. Added caption

Browse files
Files changed (2) hide show
  1. app.py +4 -2
  2. assets/cellpose_benchmark.png +0 -0
app.py CHANGED
@@ -53,7 +53,9 @@ st.markdown(
53
  uploaded_file = st.file_uploader("Choose a file")
54
 
55
  col1, col2, col3 = st.columns(3)
56
- st.image("assets/cellpose_benchmark.svg")
 
 
57
 
58
  if uploaded_file is not None:
59
  try:
@@ -139,6 +141,6 @@ if uploaded_file is not None:
139
  },
140
  ])
141
 
142
- st.table(df)
143
  except Exception as e:
144
  st.write("WARNING: an error occurred. Please retry.")
 
53
  uploaded_file = st.file_uploader("Choose a file")
54
 
55
  col1, col2, col3 = st.columns(3)
56
+ col = st.columns(1)
57
+ st.caption("OpenVINO vs CellPose: Inference Time [s] vs Image Size [pixels]")
58
+ st.image("assets/cellpose_benchmark.png")
59
 
60
  if uploaded_file is not None:
61
  try:
 
141
  },
142
  ])
143
 
144
+ col.table(df)
145
  except Exception as e:
146
  st.write("WARNING: an error occurred. Please retry.")
assets/cellpose_benchmark.png ADDED