Spaces:
Sleeping
Sleeping
srijaydeshpande
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def txt_to_html(text):
|
|
81 |
html_content += "</body></html>"
|
82 |
return html_content
|
83 |
|
84 |
-
@spaces.GPU(duration=
|
85 |
def deidentify_doc(pdftext, maxtokens, temperature, top_probability):
|
86 |
|
87 |
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."
|
|
|
81 |
html_content += "</body></html>"
|
82 |
return html_content
|
83 |
|
84 |
+
@spaces.GPU(duration=180)
|
85 |
def deidentify_doc(pdftext, maxtokens, temperature, top_probability):
|
86 |
|
87 |
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."
|