Update streamlit_app.py
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
|
@@ -56,7 +56,7 @@ labels_dict = {
|
|
| 56 |
|
| 57 |
@st.cache
|
| 58 |
def sign_predict(image):
|
| 59 |
-
model = TFSMLayer("saved_model.pb", call_endpoint='serving_default')
|
| 60 |
image = np.array(image, dtype=np.float32)
|
| 61 |
image = image/255
|
| 62 |
image = np.reshape(image, (1, 32, 32))
|
|
|
|
| 56 |
|
| 57 |
@st.cache
|
| 58 |
def sign_predict(image):
|
| 59 |
+
model = TFSMLayer("./saved_model.pb", call_endpoint='serving_default')
|
| 60 |
image = np.array(image, dtype=np.float32)
|
| 61 |
image = image/255
|
| 62 |
image = np.reshape(image, (1, 32, 32))
|