Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from torchvision import transforms
|
|
15 |
import torch.nn.functional as F
|
16 |
|
17 |
if "model" not in st.session_state:
|
18 |
-
st.session_state.model =
|
19 |
if "choice" not in st.session_state:
|
20 |
st.session_state.choice = "tensorflow"
|
21 |
|
|
|
15 |
import torch.nn.functional as F
|
16 |
|
17 |
if "model" not in st.session_state:
|
18 |
+
st.session_state.model = tf.keras.models.load_model('best_model.keras')
|
19 |
if "choice" not in st.session_state:
|
20 |
st.session_state.choice = "tensorflow"
|
21 |
|