Spaces:
Sleeping
Sleeping
howard10214
commited on
Commit
•
176ca67
1
Parent(s):
3f02d02
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import requests
|
|
4 |
import streamlit as st
|
5 |
|
6 |
"""
|
7 |
-
#
|
8 |
-
|
9 |
"""
|
10 |
|
11 |
def predict(img):
|
@@ -14,7 +14,6 @@ def predict(img):
|
|
14 |
# st.write(learn_inf.predict(img))
|
15 |
|
16 |
f"""
|
17 |
-
## This **{'is ' if pred == 'mi' else 'is not'}** an MI (heart attack).
|
18 |
### Rediction result: {pred}
|
19 |
### Probability of {pred}: {probs[key].item()*100: .2f}%
|
20 |
"""
|
|
|
4 |
import streamlit as st
|
5 |
|
6 |
"""
|
7 |
+
# cat
|
8 |
+
Meow meow meow meow meow meow meow meow meow meow meow meow meow~ meow.
|
9 |
"""
|
10 |
|
11 |
def predict(img):
|
|
|
14 |
# st.write(learn_inf.predict(img))
|
15 |
|
16 |
f"""
|
|
|
17 |
### Rediction result: {pred}
|
18 |
### Probability of {pred}: {probs[key].item()*100: .2f}%
|
19 |
"""
|