Spaces:
Sleeping
Sleeping
nishantguvvada
commited on
Commit
·
5c7c640
1
Parent(s):
d9289f2
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
|
5 |
@st.cache(allow_output_mutation=True)
|
6 |
def load_model():
|
7 |
-
model=tf.keras.models.load_model('
|
8 |
return model
|
9 |
with st.spinner('Model is being loaded..'):
|
10 |
model=load_model()
|
|
|
4 |
|
5 |
@st.cache(allow_output_mutation=True)
|
6 |
def load_model():
|
7 |
+
model=tf.keras.models.load_model('./hip_impant_model.h5')
|
8 |
return model
|
9 |
with st.spinner('Model is being loaded..'):
|
10 |
model=load_model()
|