serJD commited on
Commit
36dbf87
·
verified ·
1 Parent(s): cdc8dbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def app_function(input_json):
72
  # Check if 'df_population' is provided and convert to Series
73
  df_population = pd.Series(inputs["df_population"]) if "df_population" in inputs else None
74
 
75
- iterations = inputs.get("iterations", 5)
76
  crowding_threshold = inputs.get("crowding_threshold", 1.0)
77
 
78
  # Assuming dynamic_huff_model function is correctly defined to accept these parameters
 
72
  # Check if 'df_population' is provided and convert to Series
73
  df_population = pd.Series(inputs["df_population"]) if "df_population" in inputs else None
74
 
75
+ iterations = int(inputs.get("iterations", 5))
76
  crowding_threshold = inputs.get("crowding_threshold", 1.0)
77
 
78
  # Assuming dynamic_huff_model function is correctly defined to accept these parameters