gsasikiran commited on
Commit
f72f135
·
1 Parent(s): c6c381f

BUGFIX: Return processed text

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ article = ""
9
  def generate_summary(text):
10
  summary_text = model(text)[0]['summary_text']
11
  summary_text = summary_text.replace("\n", " ")
12
- return
13
 
14
  hf = gr.Interface(
15
  fn=generate_summary,
 
9
  def generate_summary(text):
10
  summary_text = model(text)[0]['summary_text']
11
  summary_text = summary_text.replace("\n", " ")
12
+ return summary_text
13
 
14
  hf = gr.Interface(
15
  fn=generate_summary,