Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ def classify_image(img):
|
|
10 |
pred, idx, probs = learn.predict(img)
|
11 |
return dict(zip(categories, map(float, probs)))
|
12 |
|
13 |
-
st.title('Image Classification with Fastai and Streamlit')
|
14 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png"])
|
15 |
|
16 |
if uploaded_file is not None:
|
|
|
10 |
pred, idx, probs = learn.predict(img)
|
11 |
return dict(zip(categories, map(float, probs)))
|
12 |
|
|
|
13 |
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "png"])
|
14 |
|
15 |
if uploaded_file is not None:
|