Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,6 +82,12 @@ def anonymize(text, min_len=3):
|
|
82 |
t = t.replace('<PERSON><PERSON>', '<PERSON>')
|
83 |
return t
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
gr.Interface(
|
87 |
anonymize,
|
|
|
82 |
t = t.replace('<PERSON><PERSON>', '<PERSON>')
|
83 |
return t
|
84 |
|
85 |
+
title = "PII Masking"
|
86 |
+
description = """
|
87 |
+
In many applications, PII is easy to remove from databases.
|
88 |
+
However, it can be less straightforward to remove from unstructured text data.
|
89 |
+
This app accepts text and obfuscates names, phone numbers, emails, and IP addresses.
|
90 |
+
"""
|
91 |
|
92 |
gr.Interface(
|
93 |
anonymize,
|