mgfrantz commited on
Commit
a4ed3b8
1 Parent(s): 5e77ca5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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,