xellDart13 commited on
Commit
71eac98
·
verified ·
1 Parent(s): dc71058

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def send_excel_to_api(file_path, json_structure):
25
 
26
  if response.status_code == 200:
27
  result = response.json()
28
- response1 = json.dumps(result, indent=2)
29
  return response1
30
  else:
31
  return f"Error: Received status code {response.status_code}\n{response.text}"
 
25
 
26
  if response.status_code == 200:
27
  result = response.json()
28
+ response1 = json.dumps(result["payload"], indent=2, ensure_ascii=False)
29
  return response1
30
  else:
31
  return f"Error: Received status code {response.status_code}\n{response.text}"