Update app.py
Browse files
app.py
CHANGED
|
@@ -33,6 +33,7 @@ with st.expander("Model Parameters", expanded=True):
|
|
| 33 |
beta = st.slider("Infection Rate (β)", min_value=0.0, max_value=1.0, value=0.3)
|
| 34 |
gamma = st.slider("Recovery Rate (γ)", min_value=0.0, max_value=1.0, value=0.1)
|
| 35 |
|
|
|
|
| 36 |
|
| 37 |
# Buttons to control the simulation
|
| 38 |
run_model_button = st.button('Run Model and Generate Plots')
|
|
@@ -54,5 +55,4 @@ if generate_graph_button:
|
|
| 54 |
st.success('Graph generated successfully with user input and slider values.')
|
| 55 |
|
| 56 |
|
| 57 |
-
|
| 58 |
-
st.write('The SIR model divides the population into three categories: Susceptible (S), Infected (I), and Recovered (R). The model simulates how an infectious disease spreads and is managed within a population over time.')
|
|
|
|
| 33 |
beta = st.slider("Infection Rate (β)", min_value=0.0, max_value=1.0, value=0.3)
|
| 34 |
gamma = st.slider("Recovery Rate (γ)", min_value=0.0, max_value=1.0, value=0.1)
|
| 35 |
|
| 36 |
+
st.write('The SIR model divides the population into three categories: Susceptible (S), Infected (I), and Recovered (R). The model simulates how an infectious disease spreads and is managed within a population over time.')
|
| 37 |
|
| 38 |
# Buttons to control the simulation
|
| 39 |
run_model_button = st.button('Run Model and Generate Plots')
|
|
|
|
| 55 |
st.success('Graph generated successfully with user input and slider values.')
|
| 56 |
|
| 57 |
|
| 58 |
+
|
|
|