Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ interface_words = gr.Interface(
|
|
73 |
|
74 |
pipe_L = pipeline(
|
75 |
"text-classification",
|
76 |
-
model="
|
77 |
max_length=300,
|
78 |
return_all_scores=True,
|
79 |
truncation="do_not_truncate",
|
@@ -143,7 +143,7 @@ interface_model_RE = gr.Interface(
|
|
143 |
|
144 |
pipe_N = pipeline(
|
145 |
"text2text-generation",
|
146 |
-
model="
|
147 |
max_length=300,
|
148 |
return_all_scores=True,
|
149 |
truncation="do_not_truncate",
|
|
|
73 |
|
74 |
pipe_L = pipeline(
|
75 |
"text-classification",
|
76 |
+
model="DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence",
|
77 |
max_length=300,
|
78 |
return_all_scores=True,
|
79 |
truncation="do_not_truncate",
|
|
|
143 |
|
144 |
pipe_N = pipeline(
|
145 |
"text2text-generation",
|
146 |
+
model="DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
|
147 |
max_length=300,
|
148 |
return_all_scores=True,
|
149 |
truncation="do_not_truncate",
|