lunadebruyne commited on
Commit
34e5eed
·
1 Parent(s): ebe4bfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
  description1 = "<h3>Demo EmotioNL</h3>\nThis demo allows you to analyse the emotion in a sentence."
4
- description2 = "<h3>Demo EmotioNL</h3>\nThis demo allows you to analyse the emotions in a dataset."
5
 
6
  def what_happened(text, file_object, option_list):
7
  if file_object:
 
1
  import gradio as gr
2
 
3
  description1 = "<h3>Demo EmotioNL</h3>\nThis demo allows you to analyse the emotion in a sentence."
4
+ description2 = "<h3>Demo EmotioNL</h3>\nThis demo allows you to analyse the emotions in a dataset.\nThe 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."
5
 
6
  def what_happened(text, file_object, option_list):
7
  if file_object: