mouseland commited on
Commit
c77528c
·
verified ·
1 Parent(s): 5bf1496

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -250,7 +250,7 @@ def update_image(filepath):
250
  with gr.Blocks(title = "Hello",
251
  css=".gradio-container {background:purple;}") as demo:
252
 
253
- filepath = ""
254
  with gr.Row():
255
  with gr.Column(scale=2):
256
  gr.HTML("""<div style="font-family:'Times New Roman', 'Serif'; font-size:16pt; font-weight:bold; text-align:center; color:white;">Cellpose-SAM for cellular segmentation</div>""")
@@ -261,7 +261,7 @@ with gr.Blocks(title = "Hello",
261
 
262
  with gr.Row():
263
  with gr.Column(scale=1):
264
- up_btn = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
265
  resize = gr.Number(label = 'max resize', value = 1000)
266
 
267
  with gr.Column(scale=1):
 
250
  with gr.Blocks(title = "Hello",
251
  css=".gradio-container {background:purple;}") as demo:
252
 
253
+ #filepath = ""
254
  with gr.Row():
255
  with gr.Column(scale=2):
256
  gr.HTML("""<div style="font-family:'Times New Roman', 'Serif'; font-size:16pt; font-weight:bold; text-align:center; color:white;">Cellpose-SAM for cellular segmentation</div>""")
 
261
 
262
  with gr.Row():
263
  with gr.Column(scale=1):
264
+ filepath = gr.UploadButton("Upload (png, jpg, tif etc)", visible=True, file_count = "single")
265
  resize = gr.Number(label = 'max resize', value = 1000)
266
 
267
  with gr.Column(scale=1):