Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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}"
|