Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,9 @@ def app_function(input_json):
|
|
69 |
inputs = json.loads(input_json.replace("'", '"'))
|
70 |
print(inputs.keys())
|
71 |
# navigate to payload
|
72 |
-
inputs = inputs["
|
|
|
|
|
73 |
# Convert 'df_distances' from a list of lists into a DataFrame directly
|
74 |
df_distances = pd.DataFrame(inputs["df_distances"])
|
75 |
|
|
|
69 |
inputs = json.loads(input_json.replace("'", '"'))
|
70 |
print(inputs.keys())
|
71 |
# navigate to payload
|
72 |
+
inputs = inputs["input"]
|
73 |
+
|
74 |
+
print(inputs.keys())
|
75 |
# Convert 'df_distances' from a list of lists into a DataFrame directly
|
76 |
df_distances = pd.DataFrame(inputs["df_distances"])
|
77 |
|