srijaydeshpande commited on
Commit
25d7899
·
verified ·
1 Parent(s): 51138ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=120)
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."