Spaces:
Runtime error
Runtime error
import gradio as gr | |
from examples.keyphrases import demo as keyphrases_demo | |
from examples.anon import demo as anon_demo | |
from examples.relation import demo as relation_demo | |
demo = gr.Blocks() | |
with demo: | |
gr.Markdown("# HuSpaCy Examples") | |
gr.TabbedInterface( | |
interface_list=[keyphrases_demo, anon_demo, relation_demo], | |
tab_names=["Keyphrase extraction", "Text anonymization", "Relation Extraction"], | |
) | |
if __name__ == '__main__': | |
demo.launch() | |