Devashri commited on
Commit
b516352
·
verified ·
1 Parent(s): 5076d59

Update SIR_model.py

Browse files
Files changed (1) hide show
  1. SIR_model.py +1 -1
SIR_model.py CHANGED
@@ -14,7 +14,7 @@ from matplotlib.animation import FuncAnimation
14
 
15
  # Rest of the code remains the same
16
 
17
- def main(total_population, initial_infected, initial_recovered, beta, gamma, mode=None):
18
  # Initialize the Model
19
  sir_model = Model(id="SIR_Model")
20
 
 
14
 
15
  # Rest of the code remains the same
16
 
17
+ def main(total_population=1000, initial_infected=1, initial_recovered=0, beta=0.3, gamma=0.1, mode=None):
18
  # Initialize the Model
19
  sir_model = Model(id="SIR_Model")
20