kleinay commited on
Commit
676266b
1 Parent(s): 00d2037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.load(fn=pipeline, title=title, description=description)
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()