Commit ·
7ab781c
1
Parent(s): c2599ae
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ def deidentify_doc(llm_type, pdftext, maxtokens, temperature, top_probability):
|
|
| 142 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 143 |
messages = [{"role": "system", "content": prompt}]
|
| 144 |
response = ""
|
| 145 |
-
|
| 146 |
for message in client.chat_completion(
|
| 147 |
messages,
|
| 148 |
max_tokens=max_tokens,
|
|
|
|
| 142 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 143 |
messages = [{"role": "system", "content": prompt}]
|
| 144 |
response = ""
|
| 145 |
+
print('PROMPT IS ',prompt)
|
| 146 |
for message in client.chat_completion(
|
| 147 |
messages,
|
| 148 |
max_tokens=max_tokens,
|