Commit ·
0698713
1
Parent(s): 90462aa
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ def deidentify_doc(pdftext, maxtokens, temperature, top_probability):
|
|
| 112 |
print(output)
|
| 113 |
|
| 114 |
#### Remove Dates ###
|
| 115 |
-
prompt = "In the following text replace any date such as 23/05/22 with term [redacted]."
|
| 116 |
|
| 117 |
output = llm.create_chat_completion(
|
| 118 |
messages=[
|
|
|
|
| 112 |
print(output)
|
| 113 |
|
| 114 |
#### Remove Dates ###
|
| 115 |
+
prompt = "In the following text replace any calendar date such as 23/05/22 with term [redacted]."
|
| 116 |
|
| 117 |
output = llm.create_chat_completion(
|
| 118 |
messages=[
|