Yankeelee commited on
Commit
59cd00f
1 Parent(s): 98b7a6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,8 +4,8 @@ import requests
4
  import streamlit as st
5
 
6
  """
7
- # HeartNet
8
- This is a classifier for images of 12-lead EKGs. It will attempt to detect whether the EKG indicates an acute MI. It was trained on simulated images.
9
  """
10
 
11
  def predict(img):
@@ -14,7 +14,7 @@ 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
+ # Ocean_Pllution
8
+ 分類海洋汙染種類有:塑膠汙染石油汙染及沒有汙染
9
  """
10
 
11
  def predict(img):
 
14
  # st.write(learn_inf.predict(img))
15
 
16
  f"""
17
+ ## This **{'is ' if pred == 'mi' else 'is not'}** an Ocean_Pllution.
18
  ### Rediction result: {pred}
19
  ### Probability of {pred}: {probs[key].item()*100: .2f}%
20
  """