Spaces:
Runtime error
Runtime error
import gradio as gr | |
#gr.Interface.load("models/projecte-aina/multiner_ceil",src="models",src="models").launch() | |
from transformers import pipeline | |
#import gradio as gr | |
pipe = pipeline("token-classification", model="models/projecte-aina/multiner_ceil",aggregation_strategy="first") | |
demo = gr.Interface.from_pipeline(pipe) | |
demo.launch() |