kovacsvi commited on
Commit
805ad79
Β·
1 Parent(s): 9d3dc59

Q&A + backticks

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -227,9 +227,10 @@ 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
  """
234
 
235
  gr.HTML("<h1>MORES Pulse</h1>", elem_classes="title_")
 
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)[].
234
  """
235
 
236
  gr.HTML("<h1>MORES Pulse</h1>", elem_classes="title_")