Commit ·
10d14ce
1
Parent(s): 40a9d80
Update app.py
Browse files79 unmodified lines8081828384858679 unmodified lineshtml_content += "</body></html>"return html_content@spaces.GPU(duration=120)def deidentify_doc(pdftext, maxtokens, temperature, top_probability):prompt = "In the following text replace any person name and any address with term [redacted], replace any Date of Birth and NHS number with term [redacted]. Output the modified text."79 unmodified lines8081828384858679 unmodified lineshtml_content += "</body></html>"return html_content@spaces.GPU(duration=50)def deidentify_doc(pdftext, maxtokens, temperature, top_probability):prompt = "In the following text replace any person name and any address with term [redacted], replace any Date of Birth and NHS number with term [redacted]. Output the modified text."
app.py+1-1