Update app.py
Browse files71 unmodified lines7273747576777871 unmodified lines# Check if 'df_population' is provided and convert to Seriesdf_population = pd.Series(inputs["df_population"]) if "df_population" in inputs else Noneiterations = inputs.get("iterations", 5)crowding_threshold = inputs.get("crowding_threshold", 1.0)# Assuming dynamic_huff_model function is correctly defined to accept these parameters71 unmodified lines7273747576777871 unmodified lines# Check if 'df_population' is provided and convert to Seriesdf_population = pd.Series(inputs["df_population"]) if "df_population" in inputs else Noneiterations = int(inputs.get("iterations", 5))crowding_threshold = inputs.get("crowding_threshold", 1.0)# Assuming dynamic_huff_model function is correctly defined to accept these parameters
app.py+1-1