Spaces:
Sleeping
Sleeping
Pranav Shikarpur commited on
Commit ·
0531f26
1
Parent(s): 1110ee8
feat: added zip code to data
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def redact_input(input: str, pangea_token: str):
|
|
| 7 |
return redact.redact(text=input).result.redacted_text
|
| 8 |
|
| 9 |
|
| 10 |
-
input_text = gr.components.Textbox(label="Enter your data here", value='My credit card number is 4242424242424242 with first and last name Mark Wittner and phone number 240-555-2323 \n City: New York \n State: NY')
|
| 11 |
output_text1 = gr.components.Textbox(label="Redacted data")
|
| 12 |
|
| 13 |
|
|
|
|
| 7 |
return redact.redact(text=input).result.redacted_text
|
| 8 |
|
| 9 |
|
| 10 |
+
input_text = gr.components.Textbox(label="Enter your data here", value='My credit card number is 4242424242424242 with first and last name Mark Wittner and phone number 240-555-2323 \n City: New York \n State: NY \n Zip Code: 10036')
|
| 11 |
output_text1 = gr.components.Textbox(label="Redacted data")
|
| 12 |
|
| 13 |
|