Commit
·
2f4bac0
1
Parent(s):
73565c8
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,8 @@ def mask_with_protecto(text_for_prompt):
|
|
95 |
# Parse the masked result from the API response and format it for display
|
96 |
masked_result = response.json()
|
97 |
final_result = json.dumps(masked_result, indent=4)
|
98 |
-
return(masked_result["data"][0]["token_value"])
|
|
|
99 |
else:
|
100 |
# Return an error message if the API request was not successful.
|
101 |
return(str(response.status_code))
|
|
|
95 |
# Parse the masked result from the API response and format it for display
|
96 |
masked_result = response.json()
|
97 |
final_result = json.dumps(masked_result, indent=4)
|
98 |
+
# return(str(masked_result["data"][0]["token_value"]))
|
99 |
+
return(str(masked_result))
|
100 |
else:
|
101 |
# Return an error message if the API request was not successful.
|
102 |
return(str(response.status_code))
|