Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,9 @@ img_width = 640
|
|
37 |
|
38 |
state = st.session_state
|
39 |
|
|
|
40 |
if "loaded_model" not in state:
|
|
|
41 |
state.loaded_model = keras.models.load_model("0.0008-0.92.keras")
|
42 |
|
43 |
if "lat" not in state:
|
|
|
37 |
|
38 |
state = st.session_state
|
39 |
|
40 |
+
|
41 |
if "loaded_model" not in state:
|
42 |
+
with st.spinner('Loading model. This may take a few seconds...'):
|
43 |
state.loaded_model = keras.models.load_model("0.0008-0.92.keras")
|
44 |
|
45 |
if "lat" not in state:
|