Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,7 @@ def cellpose_segment(img_input):
|
|
| 147 |
# description="upload an image, then cellpose will segment it at a max size of 400x400 (for full functionality, 'pip install cellpose' locally)"
|
| 148 |
#)
|
| 149 |
|
| 150 |
-
def download_function:
|
| 151 |
b1 = gr.DownloadButton("Download masks as TIFF", visible=False)
|
| 152 |
b2 = gr.DownloadButton("Download outline image as PNG", visible=False)
|
| 153 |
return b1, b2
|
|
|
|
| 147 |
# description="upload an image, then cellpose will segment it at a max size of 400x400 (for full functionality, 'pip install cellpose' locally)"
|
| 148 |
#)
|
| 149 |
|
| 150 |
+
def download_function():
|
| 151 |
b1 = gr.DownloadButton("Download masks as TIFF", visible=False)
|
| 152 |
b2 = gr.DownloadButton("Download outline image as PNG", visible=False)
|
| 153 |
return b1, b2
|