lorenzoscottb commited on
Commit
c07ce9b
β€’
1 Parent(s): 0f4e6b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -76,31 +76,27 @@ interface_words = gr.Interface(
76
  title=title,
77
  description=description_main,
78
  examples=example_main,
79
- cache_examples=True,
80
  )
81
 
82
  interface_model_L = gr.Interface.load(
83
- name="models/DReAMy-lib/xlm-roberta-large-DreamBank-emotion-presence",
84
  description=description_L,
85
  examples=examples,
86
  title="SA Large Multilingual",
87
- cache_examples=True,
88
  )
89
 
90
  interface_model_S = gr.Interface.load(
91
- name="models/DReAMy-lib/bert-base-cased-DreamBank-emotion-presence",
92
  description=description_S,
93
  examples=examples[0],
94
  title="SA Base English-Only",
95
- cache_examples=True,
96
  )
97
 
98
  interface_model_G = gr.Interface.load(
99
- name="models/DReAMy-lib/t5-base-DreamBank-Generation-Emot-Char",
100
  description=description_G,
101
  examples=examples_g,
102
  title="SA Generation",
103
- cache_examples=True,
104
  )
105
 
106
  # interface_model_RE = gr.Interface(
@@ -118,7 +114,7 @@ interface_model_G = gr.Interface.load(
118
  # )
119
 
120
  interface_model_NER = gr.Interface.load(
121
- name="models/DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
122
  description=description_GNER,
123
  examples=examples_g,
124
  title="NER Generation",
 
76
  title=title,
77
  description=description_main,
78
  examples=example_main,
 
79
  )
80
 
81
  interface_model_L = gr.Interface.load(
82
+ name="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
+ name="DReAMy-lib/bert-base-cased-DreamBank-emotion-presence",
90
  description=description_S,
91
  examples=examples[0],
92
  title="SA Base English-Only",
 
93
  )
94
 
95
  interface_model_G = gr.Interface.load(
96
+ name="DReAMy-lib/t5-base-DreamBank-Generation-Emot-Char",
97
  description=description_G,
98
  examples=examples_g,
99
  title="SA Generation",
 
100
  )
101
 
102
  # interface_model_RE = gr.Interface(
 
114
  # )
115
 
116
  interface_model_NER = gr.Interface.load(
117
+ name="DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
118
  description=description_GNER,
119
  examples=examples_g,
120
  title="NER Generation",