Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def tif_view(filepath):
|
|
| 24 |
print('tif'+ fext)
|
| 25 |
if fext in ['.tiff', '.tif']:
|
| 26 |
print('happens?')
|
| 27 |
-
img = tiff.imread(filepath
|
| 28 |
if img.ndim==2:
|
| 29 |
img = np.tile(img[:,:,np.newxis], [1,1,3])
|
| 30 |
elif img.ndim==3:
|
|
|
|
| 24 |
print('tif'+ fext)
|
| 25 |
if fext in ['.tiff', '.tif']:
|
| 26 |
print('happens?')
|
| 27 |
+
img = tiff.imread(filepath)
|
| 28 |
if img.ndim==2:
|
| 29 |
img = np.tile(img[:,:,np.newxis], [1,1,3])
|
| 30 |
elif img.ndim==3:
|