Commit ·
27fd697
1
Parent(s): 10d14ce
Update app.py
Browse files79 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."79 unmodified lines8081828384858679 unmodified lineshtml_content += "</body></html>"return html_content@spaces.GPU(duration=60)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