import gradio as gr from AinaTheme import AinaGradioTheme gr.load("projecte-aina/multiner_ceil",src="models",aggregation_strategy="first", **AinaGradioTheme().get_kwargs()).launch() #from transformers import pipeline #import gradio as gr #pipe = pipeline("token-classification", model="projecte-aina/multiner_ceil",aggregation_strategy="first") #demo = gr.Interface.from_pipeline(pipe) #demo.launch()