pragnakalp commited on
Commit
89a2478
1 Parent(s): 3a7422a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ def generate_emotion(article):
143
 
144
  table = {'Input':sen_list_temp, 'Detected Emotion':results}
145
  gc.collect()
146
- save_data_and_sendmail(article,results_dict,sen_list, table)
147
  return pd.DataFrame(table)
148
  else:
149
  raise gr.Error("Please enter text in inputbox!!!!")
 
143
 
144
  table = {'Input':sen_list_temp, 'Detected Emotion':results}
145
  gc.collect()
146
+ save_data_and_sendmail(article,results_dict,sen_list, results)
147
  return pd.DataFrame(table)
148
  else:
149
  raise gr.Error("Please enter text in inputbox!!!!")