Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ def predict(img):
|
|
11 |
st.image(img, caption="Your image", use_column_width=True)
|
12 |
pred, key, probs = learn_inf.predict(img)
|
13 |
# st.write(learn_inf.predict(img))
|
14 |
-
|
15 |
-
|
16 |
### Rediction result: {pred}
|
17 |
### Probability of {pred}: {probs[key].item()*100: .2f}%
|
18 |
"""
|
|
|
11 |
st.image(img, caption="Your image", use_column_width=True)
|
12 |
pred, key, probs = learn_inf.predict(img)
|
13 |
# st.write(learn_inf.predict(img))
|
14 |
+
|
15 |
+
f"""
|
16 |
### Rediction result: {pred}
|
17 |
### Probability of {pred}: {probs[key].item()*100: .2f}%
|
18 |
"""
|