Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def tif_view(filepath, z):
|
|
| 48 |
nn = np.minimum(3, img.shape[-1])
|
| 49 |
imgi[:,:,:nn] = img[:,:,:nn]
|
| 50 |
|
| 51 |
-
filepath = fpath+'.png'
|
| 52 |
tiff.imwrite(filepath, imgi.astype('uint8'))
|
| 53 |
print('tif'+filepath)
|
| 54 |
return filepath
|
|
|
|
| 48 |
nn = np.minimum(3, img.shape[-1])
|
| 49 |
imgi[:,:,:nn] = img[:,:,:nn]
|
| 50 |
|
| 51 |
+
filepath = fpath+'z'+str(z)+'.png'
|
| 52 |
tiff.imwrite(filepath, imgi.astype('uint8'))
|
| 53 |
print('tif'+filepath)
|
| 54 |
return filepath
|