Devashri commited on
Commit
5f8d0d7
·
verified ·
1 Parent(s): 208ac86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if st.button('Run Model and Generate Plots'):
45
  st.success('Model executed successfully with user input and slider values.')
46
 
47
 
48
- else if st.button('Generate Graph'):
49
  # Call the modified run_sir_model function with "graph" mode
50
  image_path=run_sir_model(total_population, initial_infected, initial_recovered, beta, gamma, mode="graph")
51
  st.image(image_path,caption="SIR Model Graph")
 
45
  st.success('Model executed successfully with user input and slider values.')
46
 
47
 
48
+ elif st.button('Generate Graph'):
49
  # Call the modified run_sir_model function with "graph" mode
50
  image_path=run_sir_model(total_population, initial_infected, initial_recovered, beta, gamma, mode="graph")
51
  st.image(image_path,caption="SIR Model Graph")