Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,5 +5,5 @@ pipeline = QASRL_Pipeline(model)
|
|
5 |
|
6 |
description = f"""This is a demo of the '{model}' model, which fine-tuned a Seq2Seq pretrained model on the QANom task"""
|
7 |
title="QANom Parser Demo"
|
8 |
-
iface = gr.Interface
|
9 |
iface.launch()
|
|
|
5 |
|
6 |
description = f"""This is a demo of the '{model}' model, which fine-tuned a Seq2Seq pretrained model on the QANom task"""
|
7 |
title="QANom Parser Demo"
|
8 |
+
iface = gr.Interface(fn=pipeline, inputs=["text"], outputs=["text"])
|
9 |
iface.launch()
|