Humboldt commited on
Commit
d187eed
·
1 Parent(s): 7827df9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -41,14 +41,16 @@ if file_str:
41
  filepath = 'example.jpg'
42
  h = wget.download(file_str, out=filepath)
43
  image = h
 
 
 
 
 
 
44
  else:
45
  pass
46
 
47
 
48
- image = load_img(image)
49
- image = img_to_array(image).astype('float')/255
50
-
51
- st.image(image)
52
 
53
 
54
  file = c2.file_uploader(label='Upload GeoTIFF file')
 
41
  filepath = 'example.jpg'
42
  h = wget.download(file_str, out=filepath)
43
  image = h
44
+
45
+
46
+ image = load_img(image)
47
+ image = img_to_array(image).astype('float')/255
48
+
49
+ st.image(image)
50
  else:
51
  pass
52
 
53
 
 
 
 
 
54
 
55
 
56
  file = c2.file_uploader(label='Upload GeoTIFF file')