srijaydeshpande commited on
Commit
307a8b9
·
1 Parent(s): f441194
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ def pdf_to_text(files, prompt="", maxtokens=600, temperature=1.2, top_probabilit
132
  with open(file_name_splt[0]+'.txt', 'w') as outputfile:
133
  # Write some text to the file
134
  outputfile.write(anonymized_text)
135
- output_files.append(outputfile)
136
  zipf = ZipFile('anonymized_reports', 'w')
137
  for file in output_files:
138
  zipf.write(file, os.path.basename(file))
 
132
  with open(file_name_splt[0]+'.txt', 'w') as outputfile:
133
  # Write some text to the file
134
  outputfile.write(anonymized_text)
135
+ output_files.append(file_name_splt[0]+'.txt')
136
  zipf = ZipFile('anonymized_reports', 'w')
137
  for file in output_files:
138
  zipf.write(file, os.path.basename(file))