Spaces:
Runtime error
Runtime error
Suraj_Jaiswal
commited on
Commit
•
4a930da
1
Parent(s):
c8ca8bb
Updated model link
Browse files
app.py
CHANGED
@@ -20,8 +20,9 @@ from tensorflow.keras.preprocessing.image import img_to_array, array_to_img
|
|
20 |
import matplotlib.pyplot as plt
|
21 |
|
22 |
|
23 |
-
url = 'https://drive.google.com/uc?id=1DBl_LcIC3-a09bgGqRPAsQsLCbl9ZPJX'
|
24 |
-
|
|
|
25 |
output = 'model_vgg_fine_ind_grad.h5'
|
26 |
gdown.download(url, output, quiet=True)
|
27 |
|
@@ -179,7 +180,7 @@ def main():
|
|
179 |
# Display the map as an image using st.image()
|
180 |
folium_static(india_map)
|
181 |
|
182 |
-
ab = st.text_input("API key?", "")
|
183 |
|
184 |
with st.expander("Instructions"):
|
185 |
st.write("1. Enter the latitude and longitude of the bounding box in the sidebar.\n"
|
|
|
20 |
import matplotlib.pyplot as plt
|
21 |
|
22 |
|
23 |
+
# url = 'https://drive.google.com/uc?id=1DBl_LcIC3-a09bgGqRPAsQsLCbl9ZPJX'
|
24 |
+
url = 'https://drive.google.com/uc?id=1PpaFM7tjZQ9LuICfNmITrbbJnq4SFGnK'
|
25 |
+
|
26 |
output = 'model_vgg_fine_ind_grad.h5'
|
27 |
gdown.download(url, output, quiet=True)
|
28 |
|
|
|
180 |
# Display the map as an image using st.image()
|
181 |
folium_static(india_map)
|
182 |
|
183 |
+
ab = st.text_input("API key?", "AIzaSyCBGIlzrt1yWOzXU7L3_2eaSJcxFHiedz0")
|
184 |
|
185 |
with st.expander("Instructions"):
|
186 |
st.write("1. Enter the latitude and longitude of the bounding box in the sidebar.\n"
|