jableable commited on
Commit
1c638fb
·
verified ·
1 Parent(s): 9a063c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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: