Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def get_clinical_code(clinical_text):
|
|
52 |
# Construct the full prompt exactly as it will be fed to the model
|
53 |
# Note the specific newline characters and spacing
|
54 |
user_prompt_section = f"""<start_of_turn>user
|
55 |
-
You are an expert medical coder. Your task is to analyze the following clinical text and
|
56 |
Clinical Text: "{clinical_text}"
|
57 |
Provide the ICD-10 code and a brief description.
|
58 |
<end_of_turn>"""
|
|
|
52 |
# Construct the full prompt exactly as it will be fed to the model
|
53 |
# Note the specific newline characters and spacing
|
54 |
user_prompt_section = f"""<start_of_turn>user
|
55 |
+
You are an expert medical coder. Your task is to analyze the following clinical text and provide the diagnosis in standard medical terminology. Specify each diagnosis as main diagnosis or underlying chronic conditions.
|
56 |
Clinical Text: "{clinical_text}"
|
57 |
Provide the ICD-10 code and a brief description.
|
58 |
<end_of_turn>"""
|