Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -78,12 +78,12 @@ interface_words = gr.Interface(
|
|
78 |
examples=example_main,
|
79 |
)
|
80 |
|
81 |
-
interface_model_L = gr.Interface
|
82 |
-
"models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence",
|
83 |
description=description_L,
|
84 |
examples=examples,
|
85 |
title="SA Large Multilingual",
|
86 |
)
|
|
|
87 |
|
88 |
interface_model_S = gr.Interface.load(
|
89 |
"models/DReAMy-lib/bert-base-cased-DreamBank-emotion-presence",
|
|
|
78 |
examples=example_main,
|
79 |
)
|
80 |
|
81 |
+
interface_model_L = gr.Interface(
|
|
|
82 |
description=description_L,
|
83 |
examples=examples,
|
84 |
title="SA Large Multilingual",
|
85 |
)
|
86 |
+
interface_model_L.load("models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence",)
|
87 |
|
88 |
interface_model_S = gr.Interface.load(
|
89 |
"models/DReAMy-lib/bert-base-cased-DreamBank-emotion-presence",
|