Spaces:
Sleeping
Sleeping
Update Utils/convert_raster.py
Browse files- Utils/convert_raster.py +1 -3
Utils/convert_raster.py
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
-
|
2 |
import numpy as np
|
3 |
import os
|
4 |
import tempfile
|
5 |
from PIL import Image
|
6 |
-
from osgeo import gdal
|
7 |
-
|
8 |
|
9 |
def convert_gtiff_to_8bit(src):
|
10 |
dst = src
|
|
|
1 |
+
from osgeo import gdal
|
2 |
import numpy as np
|
3 |
import os
|
4 |
import tempfile
|
5 |
from PIL import Image
|
|
|
|
|
6 |
|
7 |
def convert_gtiff_to_8bit(src):
|
8 |
dst = src
|