Spaces:
Running
Running
update
Browse files
app.py
CHANGED
@@ -14,6 +14,7 @@ from interfaces.emotion import demo as emotion_demo
|
|
14 |
from interfaces.ner import demo as ner_demo
|
15 |
from interfaces.ner import download_models as download_spacy_models
|
16 |
from interfaces.illframes import demo as illframes_demo
|
|
|
17 |
from utils import download_hf_models
|
18 |
|
19 |
with gr.Blocks() as demo:
|
@@ -37,7 +38,7 @@ with gr.Blocks() as demo:
|
|
37 |
|
38 |
gr.TabbedInterface(
|
39 |
interface_list=[cap_demo, manifesto_demo, sentiment_demo, emotion_demo, ner_demo, illframes_demo],
|
40 |
-
tab_names=["CAP", "Manifesto", "Sentiment (3)", "Emotions (6)", "Named Entity Recognition", "
|
41 |
)
|
42 |
|
43 |
if __name__ == "__main__":
|
|
|
14 |
from interfaces.ner import demo as ner_demo
|
15 |
from interfaces.ner import download_models as download_spacy_models
|
16 |
from interfaces.illframes import demo as illframes_demo
|
17 |
+
from interfaces.ontolisst import demo as ontolisst_demo
|
18 |
from utils import download_hf_models
|
19 |
|
20 |
with gr.Blocks() as demo:
|
|
|
38 |
|
39 |
gr.TabbedInterface(
|
40 |
interface_list=[cap_demo, manifesto_demo, sentiment_demo, emotion_demo, ner_demo, illframes_demo],
|
41 |
+
tab_names=["CAP", "Manifesto", "Sentiment (3)", "Emotions (6)", "Named Entity Recognition", "ILLFRAMES", "ONTOLISST"],
|
42 |
)
|
43 |
|
44 |
if __name__ == "__main__":
|