qeterme's picture
feat: Added PII anonymizer
379b083 unverified
raw
history blame
385 Bytes
import gradio as gr
from examples.keyphrases import demo as keyphrases_demo
from examples.anon import demo as anon_demo
demo = gr.Blocks()
with demo:
gr.Markdown("# HuSpaCy Examples")
gr.TabbedInterface(
interface_list=[keyphrases_demo, anon_demo],
tab_names=["Keyphrase extraction", "Text anonymization"],
)
if __name__ == '__main__':
demo.launch()