srijaydeshpande commited on
Commit
897b5dd
·
verified ·
1 Parent(s): 5d5aecb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def deidentify_doc(pdftext="", maxtokens=600, temperature=1.2, top_probability=0
84
  print(output)
85
  print('-------------------------------------------------------')
86
 
87
- prompt = "Perform the following actions on given text: 1. Replace NHS number and Case note number and Date of Birth with term [redacted] 2. DO NOT REPLACE ANY MEDICAL MEASUREMENTS 3. Replace only the CALENDAR DATES of format 'day/month/year' with term [redacted]"
88
  output = model.create_chat_completion(
89
  messages=[
90
  {"role": "assistant", "content": prompt},
 
84
  print(output)
85
  print('-------------------------------------------------------')
86
 
87
+ prompt = "Perform the following actions on given text: 1. Replace NHS number and Case note number and Date of Birth with term [redacted] 2. Replace only the CALENDAR DATES of format 'day/month/year' with term [redacted] 3. DO NOT REPLACE ANY MEDICAL MEASUREMENTS"
88
  output = model.create_chat_completion(
89
  messages=[
90
  {"role": "assistant", "content": prompt},