Jiranuwat commited on
Commit
cecd1a5
·
1 Parent(s): 06b186b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -130,11 +130,12 @@ def SIR(country,R0,t_infective,pop):
130
 
131
  def main():
132
  st.title("SIR Model for Monkeypox")
 
133
  st.caption("Display graph of SIR model of monkeypox and comparison between the model and actual data. Try to find the best R0 that fit for the actual data (lowest MAPE).")
134
 
135
  with st.form("questionaire"):
136
  country = st.selectbox("Country",data['location'].unique())# user's input
137
- recovery = st.slider("How long Monkeypox recover?", 14, 31, 21)
138
  R0 = st.slider("Basic Reproduction Number (R0)", 0.57, 3.00, 0.57)# user's input
139
  country_code = code[country][0]
140
  pop = pop_dict[country_code]
 
130
 
131
  def main():
132
  st.title("SIR Model for Monkeypox")
133
+ st.subheader("Last updated : 9/10/2022")
134
  st.caption("Display graph of SIR model of monkeypox and comparison between the model and actual data. Try to find the best R0 that fit for the actual data (lowest MAPE).")
135
 
136
  with st.form("questionaire"):
137
  country = st.selectbox("Country",data['location'].unique())# user's input
138
+ recovery = st.slider("How long Monkeypox last until recovery?", 14, 31, 21)
139
  R0 = st.slider("Basic Reproduction Number (R0)", 0.57, 3.00, 0.57)# user's input
140
  country_code = code[country][0]
141
  pop = pop_dict[country_code]