abdulmatinomotoso commited on
Commit
023b5fd
1 Parent(s): f622ee3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -14,6 +14,7 @@ import numpy as np
14
  def read_in_text(url):
15
  with open(url, 'r') as file:
16
  article = file.read()
 
17
  return article
18
 
19
  #initailizing the model pipeline
@@ -44,6 +45,7 @@ def final_summary(file):
44
  lines1[i] = "* " + lines1[i].strip().replace(' .', '.')
45
 
46
  summ_bullet1 = "\n".join(lines1)
 
47
  return summ_bullet1
48
 
49
  #creating an interface for the headline generator using gradio
14
  def read_in_text(url):
15
  with open(url, 'r') as file:
16
  article = file.read()
17
+
18
  return article
19
 
20
  #initailizing the model pipeline
45
  lines1[i] = "* " + lines1[i].strip().replace(' .', '.')
46
 
47
  summ_bullet1 = "\n".join(lines1)
48
+
49
  return summ_bullet1
50
 
51
  #creating an interface for the headline generator using gradio