Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ interface_model_RE = gr.Interface(
|
|
142 |
#############################
|
143 |
|
144 |
pipe_N = pipeline(
|
145 |
-
"
|
146 |
model="models/DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
|
147 |
max_length=300,
|
148 |
return_all_scores=True,
|
|
|
142 |
#############################
|
143 |
|
144 |
pipe_N = pipeline(
|
145 |
+
"text2text-generation",
|
146 |
model="models/DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
|
147 |
max_length=300,
|
148 |
return_all_scores=True,
|