Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ loaded_model = keras.saving.load_model("best_model.keras")
|
|
9 |
uploaded_img = st.file_uploader("Upload your file here...",type=['png', 'jpeg', 'jpg'])
|
10 |
|
11 |
if uploaded_img is not None:
|
12 |
-
st.image(
|
13 |
array = np.array(uploaded_img)
|
14 |
result = loaded_model.predict(array)
|
15 |
st.write(f"Your prediction is: {result}")
|
|
|
9 |
uploaded_img = st.file_uploader("Upload your file here...",type=['png', 'jpeg', 'jpg'])
|
10 |
|
11 |
if uploaded_img is not None:
|
12 |
+
st.image(uploaded_img)
|
13 |
array = np.array(uploaded_img)
|
14 |
result = loaded_model.predict(array)
|
15 |
st.write(f"Your prediction is: {result}")
|