Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,12 +130,12 @@ def SIR(country,R0,t_infective,pop):
|
|
130 |
|
131 |
def main():
|
132 |
st.title("SIR Model for Monkeypox")
|
133 |
-
st.subheader("
|
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]
|
|
|
130 |
|
131 |
def main():
|
132 |
st.title("SIR Model for Monkeypox")
|
133 |
+
st.subheader("Latest 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(days)? ", 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]
|