Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,8 +50,6 @@ description_GNER = """
|
|
50 |
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.
|
51 |
"""
|
52 |
|
53 |
-
example_main = ["en", "it", "pl"]
|
54 |
-
|
55 |
examples = [
|
56 |
["I was followed by the blue monster but was not scared. I was calm and relaxed."],
|
57 |
["Ero seguito dal mostro blu, ma non ero spaventato. Ero calmo e rilassato."],
|
@@ -75,7 +73,7 @@ interface_words = gr.Interface(
|
|
75 |
outputs="text",
|
76 |
title=title,
|
77 |
description=description_main,
|
78 |
-
examples=
|
79 |
)
|
80 |
|
81 |
# interface_model_L = gr.Interface(
|
|
|
50 |
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.
|
51 |
"""
|
52 |
|
|
|
|
|
53 |
examples = [
|
54 |
["I was followed by the blue monster but was not scared. I was calm and relaxed."],
|
55 |
["Ero seguito dal mostro blu, ma non ero spaventato. Ero calmo e rilassato."],
|
|
|
73 |
outputs="text",
|
74 |
title=title,
|
75 |
description=description_main,
|
76 |
+
examples=[["en", "it", "pl"]],
|
77 |
)
|
78 |
|
79 |
# interface_model_L = gr.Interface(
|