mouseland commited on
Commit
ea35654
·
verified ·
1 Parent(s): 8742230

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,7 +200,7 @@ with gr.Blocks(title = "Hello",
200
  gr.HTML("""<h4 style="color:white;">You may need to refresh/login for 5 minutes of free GPU compute time/day. </h4>""")
201
  gr.HTML("""<h4 style="color:white;">"pip install cellpose" for full functionality. </h4>""")
202
 
203
- input_image = gr.Image(label = "Input image", type = "str")
204
  send_btn = gr.Button("Run Cellpose-SAM")
205
  with gr.Row():
206
  down_btn = gr.DownloadButton("Download masks (TIFF)", visible=False)
 
200
  gr.HTML("""<h4 style="color:white;">You may need to refresh/login for 5 minutes of free GPU compute time/day. </h4>""")
201
  gr.HTML("""<h4 style="color:white;">"pip install cellpose" for full functionality. </h4>""")
202
 
203
+ input_image = gr.Image(label = "Input image", type = "filepath")
204
  send_btn = gr.Button("Run Cellpose-SAM")
205
  with gr.Row():
206
  down_btn = gr.DownloadButton("Download masks (TIFF)", visible=False)