IS361Group4 commited on
Commit
0d3453c
·
verified ·
1 Parent(s): 0bb16af

Update personal_info_identifier.py

Browse files
Files changed (1) hide show
  1. personal_info_identifier.py +9 -0
personal_info_identifier.py CHANGED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def create_personal_info_tab():
4
+ pii_interface = gr.Interface.load("models/iiiorg/piiranha-v1-detect-personal-information")
5
+
6
+ with gr.Row():
7
+ gr.Markdown("This tool identifies personal information such as names, emails, phone numbers, etc.")
8
+ with gr.Row():
9
+ pii_interface.render()