IS361Group4 commited on
Commit
7f72bc1
·
verified ·
1 Parent(s): 735c7cc

Update personal_info_identifier.py

Browse files
Files changed (1) hide show
  1. personal_info_identifier.py +1 -6
personal_info_identifier.py CHANGED
@@ -1,9 +1,4 @@
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()
 
1
  import gradio as gr
2
 
3
  def create_personal_info_tab():
4
+ return gr.Interface.load("models/iiiorg/piiranha-v1-detect-personal-information")