vickeee465 commited on
Commit
11d2424
·
1 Parent(s): c92c9ec

buggy markdown (intro)

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -209,11 +209,10 @@ def predict_wrapper(text, language):
209
 
210
  with gr.Blocks() as demo:
211
  placeholder = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
212
- introduction = """
213
- 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’.
214
  The model is optimized for sentence-level analysis, and make predictions in the following languages: Czech, English, French, German, Hungarian, Polish, and Slovak.
215
  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.
216
- """
217
  gr.Markdown(introduction)
218
  with gr.Row():
219
  with gr.Column():
 
209
 
210
  with gr.Blocks() as demo:
211
  placeholder = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
212
+ introduction = """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’.
 
213
  The model is optimized for sentence-level analysis, and make predictions in the following languages: Czech, English, French, German, Hungarian, Polish, and Slovak.
214
  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.
215
+ """
216
  gr.Markdown(introduction)
217
  with gr.Row():
218
  with gr.Column():