Spaces:
Running
Running
Add e9 interface
Browse files
app.py
CHANGED
@@ -15,6 +15,7 @@ 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:
|
@@ -37,8 +38,8 @@ with gr.Blocks() as demo:
|
|
37 |
""")
|
38 |
|
39 |
gr.TabbedInterface(
|
40 |
-
interface_list=[cap_demo, manifesto_demo, sentiment_demo, emotion_demo, ner_demo, illframes_demo, ontolisst_demo],
|
41 |
-
tab_names=["CAP", "Manifesto", "Sentiment (3)", "Emotions (6)", "Named Entity Recognition", "ILLFRAMES", "ONTOLISST"],
|
42 |
)
|
43 |
|
44 |
if __name__ == "__main__":
|
|
|
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 interfaces.emotion9 import demo as e9_demo
|
19 |
from utils import download_hf_models
|
20 |
|
21 |
with gr.Blocks() as demo:
|
|
|
38 |
""")
|
39 |
|
40 |
gr.TabbedInterface(
|
41 |
+
interface_list=[cap_demo, manifesto_demo, sentiment_demo, emotion_demo, e9_demo, ner_demo, illframes_demo, ontolisst_demo],
|
42 |
+
tab_names=["CAP", "Manifesto", "Sentiment (3)", "Emotions (6)","Emotions (9)", "Named Entity Recognition", "ILLFRAMES", "ONTOLISST"],
|
43 |
)
|
44 |
|
45 |
if __name__ == "__main__":
|