kovacsvi commited on
Commit
7543a16
Β·
1 Parent(s): 6db7031

back to the original text...

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -229,8 +229,9 @@ def predict_wrapper(text, language):
229
  with gr.Blocks(css=css) as demo:
230
  placeholder = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
231
  introduction = """
232
- MORES Pulse detects and reveals emotions in text using a powerful sentence-level AI: MORES-Poltextlab Roberta. It classifies content into six emotion categories β€” Anger, Fear, Disgust, Sadness, Joy, and None of Them.
233
- The app supports seven languages β€” Czech, English, French, German, Hungarian, Polish, and Slovak β€” and analyses your input sentence by sentence. Results appear within seconds for shorter texts, but longer entries may take a few minutes to process. Read our Q&A about Pulse here.
 
234
  """
235
 
236
  gr.HTML("<h1>MORES Pulse</h1>", elem_classes="title_")
 
229
  with gr.Blocks(css=css) as demo:
230
  placeholder = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
231
  introduction = """
232
+ 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’.
233
+ The model is optimized for sentence-level analysis, and make predictions in the following languages: Czech, English, French, German, Hungarian, Polish, and Slovak.
234
+ 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.
235
  """
236
 
237
  gr.HTML("<h1>MORES Pulse</h1>", elem_classes="title_")