balnur commited on
Commit
f897d1b
·
1 Parent(s): b2a2927
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,4 +1,11 @@
1
  import streamlit as st
2
 
 
 
 
 
 
3
  x = st.slider('Select a value')
 
4
  st.write(x, 'squared is', x * x)
 
 
1
  import streamlit as st
2
 
3
+ def load_model():
4
+ print("loading heavy model")
5
+ return"model"
6
+
7
+ print("before slider")
8
  x = st.slider('Select a value')
9
+
10
  st.write(x, 'squared is', x * x)
11
+ print("after slider")