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 | |
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() | |