Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -151,9 +151,9 @@ def main():
|
|
151 |
st.pyplot(SIR_param[-1])
|
152 |
st.success("SIR model parameters of Thailand "+" is")
|
153 |
st.success("R0 (Basic Reproduction Number) = "+str(SIR_param[0]))
|
154 |
-
st.success("Beta (Rate of transmission) = "+str(SIR_param[2]))
|
155 |
-
st.success("Gamma (Rate of Recovery) = "+str(SIR_param[3]))
|
156 |
-
st.success("MAPE = "+str(SIR_param[4])+"%")
|
157 |
|
158 |
# Run main()
|
159 |
if __name__ == "__main__":
|
|
|
151 |
st.pyplot(SIR_param[-1])
|
152 |
st.success("SIR model parameters of Thailand "+" is")
|
153 |
st.success("R0 (Basic Reproduction Number) = "+str(SIR_param[0]))
|
154 |
+
st.success("Beta (Rate of transmission) = "+str(round(SIR_param[2],3)))
|
155 |
+
st.success("Gamma (Rate of Recovery) = "+str(round(SIR_param[3],3)))
|
156 |
+
st.success("MAPE = "+str(round(SIR_param[4],3))+"%")
|
157 |
|
158 |
# Run main()
|
159 |
if __name__ == "__main__":
|