Jiranuwat commited on
Commit
87703be
·
1 Parent(s): 6dde7e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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]))