Spaces:
Runtime error
Runtime error
explicitly define spacy_model
Browse files
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."""
|