mouseland commited on
Commit
e5fd1c6
·
verified ·
1 Parent(s): f76e7a3

Update app.py

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