Commit ·
f441194
1
Parent(s): d11d18a
Update
Browse files
app.py
CHANGED
|
@@ -134,7 +134,7 @@ def pdf_to_text(files, prompt="", maxtokens=600, temperature=1.2, top_probabilit
|
|
| 134 |
outputfile.write(anonymized_text)
|
| 135 |
output_files.append(outputfile)
|
| 136 |
zipf = ZipFile('anonymized_reports', 'w')
|
| 137 |
-
for file in
|
| 138 |
zipf.write(file, os.path.basename(file))
|
| 139 |
return 'anonymized_reports'
|
| 140 |
|
|
|
|
| 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))
|
| 139 |
return 'anonymized_reports'
|
| 140 |
|