lorenzoscottb commited on
Commit
70a7d42
β€’
1 Parent(s): 66e1140

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -38,11 +38,15 @@ A BERT-base-cased model pre-trained on Eglish-only text and tuned on annotated D
38
  """
39
 
40
  description_G = """
41
- A T5 model tuned to performer text generation, and predict emotion as well as the character experiencing those emotions.
 
 
 
 
42
  """
43
 
44
  description_GNER = """
45
- A T5 model tuned to performer text generation, and predict which characters are present in the report. Note that, in the Hall and Van de Castle, the character lists never includes the dreamer. Hence, if you (willingly or not) enter a report that does not contain another character reference, the model will/should (correctly) produce an empty string. Moreover, it is likely that the produced list of CHAR could be longer than the one produced by the SA model, as not all CHAR might be associated with emotions.
46
  """
47
 
48
  example_main = ["en", "it", "pl"]
@@ -94,7 +98,7 @@ interface_model_G = gr.Interface.load(
94
 
95
  interface_model_RE = gr.Interface.load(
96
  name="huggingface/DReAMy-lib/t5-base-DreamBank-Generation-Act-Char",
97
- description=description_G,
98
  examples=examples_re,
99
  title="RE Generation",
100
  )
 
38
  """
39
 
40
  description_G = """
41
+ A T5 model tuned to perform text generation and predict emotion as well as the character experiencing those emotions.
42
+ """
43
+
44
+ description_R = """
45
+ A T5 model tuned to perform text generation and predicts the characters and the (activity) relation between them.
46
  """
47
 
48
  description_GNER = """
49
+ A T5 model tuned to perform text generation, and predict which characters are present in the report. Note that, in the Hall and Van de Castle, the character lists never includes the dreamer. Hence, if you (willingly or not) enter a report that does not contain another character reference, the model will/should (correctly) produce an empty string. Moreover, it is likely that the produced list of CHAR could be longer than the one produced by the SA model, as not all CHAR might be associated with emotions.
50
  """
51
 
52
  example_main = ["en", "it", "pl"]
 
98
 
99
  interface_model_RE = gr.Interface.load(
100
  name="huggingface/DReAMy-lib/t5-base-DreamBank-Generation-Act-Char",
101
+ description=description_R,
102
  examples=examples_re,
103
  title="RE Generation",
104
  )