serJD commited on
Commit
673904b
·
verified ·
1 Parent(s): 3c2a2dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -87,9 +87,10 @@ def app_function(input_json):
87
  print(inputs.keys())
88
  # Convert 'df_distances' from a list of lists into a DataFrame directly
89
  df_distances = pd.DataFrame(inputs["df_distances"])
90
-
91
  # 'inputs["df_attractiveness"]' and others are directly usable as lists
92
  df_attractiveness = pd.Series(inputs["df_attractiveness"])
 
93
  alpha = inputs["alpha"]
94
  beta = inputs["beta"]
95
  df_capacity = pd.Series(inputs["df_capacity"])
 
87
  print(inputs.keys())
88
  # Convert 'df_distances' from a list of lists into a DataFrame directly
89
  df_distances = pd.DataFrame(inputs["df_distances"])
90
+ print("df_distances shape", df_distances.shape)
91
  # 'inputs["df_attractiveness"]' and others are directly usable as lists
92
  df_attractiveness = pd.Series(inputs["df_attractiveness"])
93
+ print("df_attractiveness shape", df_attractiveness.shape)
94
  alpha = inputs["alpha"]
95
  beta = inputs["beta"]
96
  df_capacity = pd.Series(inputs["df_capacity"])