kleinay commited on
Commit
20a4051
β€’
1 Parent(s): 91c257c

explicitly define spacy_model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from typing import List
3
 
4
  from qasem.end_to_end_pipeline import QASemEndToEndPipeline
5
- pipeline = QASemEndToEndPipeline()
6
 
7
 
8
  description = f"""This is a demo of the QASem Parsing pipeline. It wraps models of three QA-based semantic tasks, composing a comprehensive semi-structured representation of sentence meaning - covering verbal and nominal semantic role labeling together with discourse relations."""
 
2
  from typing import List
3
 
4
  from qasem.end_to_end_pipeline import QASemEndToEndPipeline
5
+ pipeline = QASemEndToEndPipeline(spacy_model="en_core_web_lg")
6
 
7
 
8
  description = f"""This is a demo of the QASem Parsing pipeline. It wraps models of three QA-based semantic tasks, composing a comprehensive semi-structured representation of sentence meaning - covering verbal and nominal semantic role labeling together with discourse relations."""