pragnakalp commited on
Commit
30d5dcf
·
1 Parent(s): 441052e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def generate_text_summarization(sum_type,article):
58
  "score" : summary_score
59
  }
60
 
61
- save_data_and_sendmail(article, sum_type, result_dic)
62
  return summary
63
  else:
64
  raise gr.Error("Please enter text in inputbox!!!!")
 
58
  "score" : summary_score
59
  }
60
 
61
+ save_data_and_sendmail(article, sum_type, summary)
62
  return summary
63
  else:
64
  raise gr.Error("Please enter text in inputbox!!!!")