lunadebruyne commited on
Commit
53a1f9f
·
1 Parent(s): ce7dee0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ inference_modelpath = "model/checkpoint-128"
11
  def what_happened(text, file_object, option_list):
12
  if file_object:
13
  output = "You uploaded a file."
14
- if len(option_list) > 0:
15
- output = output + "\nYou selected these options:\n- " + "\n- ".join(option_list)
16
  else:
17
  output = "Normally, this demo should analyse the emotions in this text:\n" + text
18
  if len(option_list) > 0:
 
11
  def what_happened(text, file_object, option_list):
12
  if file_object:
13
  output = "You uploaded a file."
14
+ #if len(option_list) > 0:
15
+ #output = output + "\nYou selected these options:\n- " + "\n- ".join(option_list)
16
  else:
17
  output = "Normally, this demo should analyse the emotions in this text:\n" + text
18
  if len(option_list) > 0: