Update app.py
Browse files
app.py
CHANGED
|
@@ -168,6 +168,7 @@ def run_model_gpu240(img, max_iter):
|
|
| 168 |
from zipfile import ZipFile
|
| 169 |
def cellpose_segment(filepath, resize = 1000,max_iter = 250):
|
| 170 |
|
|
|
|
| 171 |
zip_path = os.path.splitext(filepath[-1])[0]+"_masks.zip"
|
| 172 |
#zip_path = 'masks.zip'
|
| 173 |
with ZipFile(zip_path, 'w') as myzip:
|
|
|
|
| 168 |
from zipfile import ZipFile
|
| 169 |
def cellpose_segment(filepath, resize = 1000,max_iter = 250):
|
| 170 |
|
| 171 |
+
print(max_iter)
|
| 172 |
zip_path = os.path.splitext(filepath[-1])[0]+"_masks.zip"
|
| 173 |
#zip_path = 'masks.zip'
|
| 174 |
with ZipFile(zip_path, 'w') as myzip:
|