kovacsvi commited on
Commit
0fd85b8
·
1 Parent(s): 8ccae1b

british english

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -227,8 +227,8 @@ def predict_wrapper(text, language):
227
  with gr.Blocks(css=css) as demo:
228
  placeholder = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
229
  introduction = """
230
- This platform is designed to detect and visualize emotions in text. The model behind it operates using a 6-label codebook, including the following labels: `Anger`, `Fear`, `Disgust`, `Sadness`, `Joy`, and `None of Them`.
231
- The [model](https://huggingface.co/poltextlab/xlm-roberta-large-pooled-emotions6) is optimized for sentence-level analysis, and make predictions in the following languages: Czech, English, French, German, Hungarian, Polish, and Slovak.
232
  The text you enter in the input box is automatically divided into sentences, and the analysis is performed on each sentence. Depending on the length of the text, this process may take a few seconds, but for longer texts, it can take up to 2-3 minutes.
233
  Read our Q&A about Pulse (here)[https://cms.mores-horizon.eu/uploads/TEST_PDF_080b70a9fe.pdf].
234
  """
 
227
  with gr.Blocks(css=css) as demo:
228
  placeholder = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
229
  introduction = """
230
+ This application detects and visualises emotions in text. The model behind it operates using a 6-label codebook, including the following labels: `Anger`, `Fear`, `Disgust`, `Sadness`, `Joy`, and `None of Them`.
231
+ The [model](https://huggingface.co/poltextlab/xlm-roberta-large-pooled-emotions6) is optimised for sentence-level analysis, and make predictions in the following languages: Czech, English, French, German, Hungarian, Polish, and Slovak.
232
  The text you enter in the input box is automatically divided into sentences, and the analysis is performed on each sentence. Depending on the length of the text, this process may take a few seconds, but for longer texts, it can take up to 2-3 minutes.
233
  Read our Q&A about Pulse (here)[https://cms.mores-horizon.eu/uploads/TEST_PDF_080b70a9fe.pdf].
234
  """