Spaces:
Running
Running
Update personal_info_identifier.py
Browse files
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()
|