Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,9 +11,8 @@ uploaded_img = st.file_uploader("Upload your file here...",type=['png', 'jpeg',
|
|
| 11 |
if uploaded_file is not None:
|
| 12 |
st.image(uploaded_file)
|
| 13 |
array = np.array(uploaded_img)
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
st.write(f"Your prediction is: {result}")
|
| 17 |
|
| 18 |
|
| 19 |
#model = from_pretrained_keras("jableable/road_model")
|
|
|
|
| 11 |
if uploaded_file is not None:
|
| 12 |
st.image(uploaded_file)
|
| 13 |
array = np.array(uploaded_img)
|
| 14 |
+
result = loaded_model.predict(array)
|
| 15 |
+
st.write(f"Your prediction is: {result}")
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
#model = from_pretrained_keras("jableable/road_model")
|