Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -104,8 +104,7 @@ def main():
|
|
104 |
# Show SIR
|
105 |
SIR_param = SIR(country,recovery)
|
106 |
|
107 |
-
st.success(st.pyplot(all_location[country]['total_cases']))
|
108 |
-
st.success(st.pyplot(SIR(country,recovery)))
|
109 |
st.success("SIR model parameters for "+str(country)+" is")
|
110 |
st.success("R0 = "+str(SIR_param[0]))
|
111 |
st.success("Beta = "+str(SIR_param[2]))
|
|
|
104 |
# Show SIR
|
105 |
SIR_param = SIR(country,recovery)
|
106 |
|
107 |
+
st.success(st.pyplot(plt.plot(all_location[country]['total_cases'])))
|
|
|
108 |
st.success("SIR model parameters for "+str(country)+" is")
|
109 |
st.success("R0 = "+str(SIR_param[0]))
|
110 |
st.success("Beta = "+str(SIR_param[2]))
|