lunadebruyne commited on
Commit
66f07c2
·
1 Parent(s): 08fd507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -318,10 +318,10 @@ with gr.Blocks() as demo:
318
  send_btn = gr.Button("Submit data")
319
  with gr.Column():
320
  gr.Markdown("""
321
- **<font size="2">Data format</font>**
322
  The data should be in tsv-format with two named columns: the first column (id) should contain the sentence IDs, and the second column (text) should contain the actual texts. Optionally, there is a third column named 'date', which specifies the date associated with the text (e.g., tweet date). This column is necessary when the options 'emotion distribution over time' and 'peaks' are selected. For now, we only accept files with maximum 400 sentences and a limit of 300 tokens per sentence.
323
 
324
- **<font size="2">Options</font>**
325
  **Emotion frequencies** outputs a bar plot with the prediction frequencies of each emotion category (anger, fear, joy, love, sadness or neutral).
326
  **Emotion distribution over time** outputs a line plot that visualises the frequency of predicted emotions over time for each emotion category.
327
  **Peaks** outputs a step graph that only shows the significant fluctuations (upwards and downwards) in emotion frequencies over time.
 
318
  send_btn = gr.Button("Submit data")
319
  with gr.Column():
320
  gr.Markdown("""
321
+ **<font size="4">Data format</font>**
322
  The data should be in tsv-format with two named columns: the first column (id) should contain the sentence IDs, and the second column (text) should contain the actual texts. Optionally, there is a third column named 'date', which specifies the date associated with the text (e.g., tweet date). This column is necessary when the options 'emotion distribution over time' and 'peaks' are selected. For now, we only accept files with maximum 400 sentences and a limit of 300 tokens per sentence.
323
 
324
+ **<font size="4">Options</font>**
325
  **Emotion frequencies** outputs a bar plot with the prediction frequencies of each emotion category (anger, fear, joy, love, sadness or neutral).
326
  **Emotion distribution over time** outputs a line plot that visualises the frequency of predicted emotions over time for each emotion category.
327
  **Peaks** outputs a step graph that only shows the significant fluctuations (upwards and downwards) in emotion frequencies over time.