Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ def app_function(input_json):
|
|
79 |
|
80 |
# Assuming dynamic_huff_model function is correctly defined to accept these parameters
|
81 |
result = dynamic_huff_model(df_distances, df_attractiveness, alpha, beta, df_capacity, df_population, iterations, crowding_threshold)
|
82 |
-
|
83 |
# Convert the result DataFrame to a JSON string for output
|
84 |
return result.to_json(orient='split')
|
85 |
|
|
|
79 |
|
80 |
# Assuming dynamic_huff_model function is correctly defined to accept these parameters
|
81 |
result = dynamic_huff_model(df_distances, df_attractiveness, alpha, beta, df_capacity, df_population, iterations, crowding_threshold)
|
82 |
+
print(result)
|
83 |
# Convert the result DataFrame to a JSON string for output
|
84 |
return result.to_json(orient='split')
|
85 |
|