Spaces:
Runtime error
Runtime error
Create app.py
Browse filesInitial commit
app.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
model = "kleinay/qanom-seq2seq-model-baseline"
|
| 4 |
+
description = f"""This is a demo of the '{model}' model, which fine-tuned a Seq2Seq pretrained model on the QANom task"""
|
| 5 |
+
title="QANom Parser Demo"
|
| 6 |
+
iface = gr.Interface.load(model, title=title, description=description)
|
| 7 |
+
iface.launch()
|