maxbetjes commited on
Commit
046a6e4
·
verified ·
1 Parent(s): 842b426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -151,6 +151,8 @@ def detect_cells(filepath, z):
151
 
152
  tiff.imwrite(filepath_result, result)
153
  filepath_result_show = tif_view(filepath_result, z)
 
 
154
 
155
  return filepath_result, filepath_result_show, filepath_result_show
156
 
@@ -203,7 +205,7 @@ with gr.Blocks(title = "Hello",
203
  #depth.change(update_depth, [up_btn, depth], depth)
204
 
205
 
206
- send_btn.click(detect_cells, [up_btn], [down_btn, output_image1, output_image2])# flows, down_btn, down_btn2])
207
 
208
  #down_btn.click(download_function, None, [down_btn, down_btn2])
209
 
 
151
 
152
  tiff.imwrite(filepath_result, result)
153
  filepath_result_show = tif_view(filepath_result, z)
154
+ filepath_result_show = norm_path(filepath_result_show)
155
+
156
 
157
  return filepath_result, filepath_result_show, filepath_result_show
158
 
 
205
  #depth.change(update_depth, [up_btn, depth], depth)
206
 
207
 
208
+ send_btn.click(detect_cells, [up_btn, depth], [down_btn, output_image1, output_image2])# flows, down_btn, down_btn2])
209
 
210
  #down_btn.click(download_function, None, [down_btn, down_btn2])
211