Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,7 +169,7 @@ def read_and_preprocess_dicom(file_path: str):
|
|
| 169 |
|
| 170 |
image = image_pil.convert('RGB')
|
| 171 |
|
| 172 |
-
print("In preprocess dicom:", image.
|
| 173 |
#image = np.array(numpydata)[::-1].copy()
|
| 174 |
image = np.array(numpydata)[:,:,::-1].copy()
|
| 175 |
|
|
|
|
| 169 |
|
| 170 |
image = image_pil.convert('RGB')
|
| 171 |
|
| 172 |
+
print("In preprocess dicom:", image.size)
|
| 173 |
#image = np.array(numpydata)[::-1].copy()
|
| 174 |
image = np.array(numpydata)[:,:,::-1].copy()
|
| 175 |
|