Update app.py
Browse files
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.
|
| 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)
|