lorenzoscottb commited on
Commit
2640782
β€’
1 Parent(s): 2b2ee28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,7 +73,7 @@ interface_words = gr.Interface(
73
 
74
  pipe_L = pipeline(
75
  "text-classification",
76
- model="models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence",
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="models/DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
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",