Linseypass commited on
Commit
002f7b6
·
1 Parent(s): 9753d62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -44,10 +44,6 @@ def generate(title, abstract):
44
  sentences = sent_tokenize(text)
45
  newline["target"] = sentences
46
  newline["title"] = title
47
- first_file = open("data/sample-data.jsonl", "w")
48
- first_file.write(json.dumps(newline))
49
- first_file.close()
50
- print(newline)
51
  print("Tokenized abstract to sentences.")
52
  '''
53
  Main part
 
44
  sentences = sent_tokenize(text)
45
  newline["target"] = sentences
46
  newline["title"] = title
 
 
 
 
47
  print("Tokenized abstract to sentences.")
48
  '''
49
  Main part