Spaces:
Runtime error
Runtime error
import gradio as gr | |
from qasrl_model_pipeline import QASRL_Pipeline | |
model = "kleinay/qanom-seq2seq-model-baseline" | |
pipeline = QASRL_Pipeline(model) | |
description = f"""This is a demo of the '{model}' model, which fine-tuned a Seq2Seq pretrained model on the QANom task""" | |
title="QANom Parser Demo" | |
iface = gr.Interface.load(fn=pipeline, title=title, description=description) | |
iface.launch() |