Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -280,7 +280,7 @@ trained on American English is being served.
|
|
280 |
st.write('Press submit to evaluate medical notes')
|
281 |
|
282 |
if submit:
|
283 |
-
# res = parse_gpt(text + "Organize the answers in
|
284 |
parsed_notes = ask_gpt(f"""
|
285 |
Please parse the following medical note in point form, without losing any important information:
|
286 |
`{text}`
|
@@ -296,7 +296,7 @@ trained on American English is being served.
|
|
296 |
- <point 2>
|
297 |
- ...
|
298 |
|
299 |
-
**
|
300 |
- <test 1>
|
301 |
- <test 2>
|
302 |
|
|
|
280 |
st.write('Press submit to evaluate medical notes')
|
281 |
|
282 |
if submit:
|
283 |
+
# res = parse_gpt(text + "Organize the answers in 4 parts, first is pre-existing conditions, second is symptoms, third is test, fourth is prescriptions. Sample output for drugs should be the end of the answer as DRUG_NAMES: <drug 1>, <drug 2>, <drug 3>...")
|
284 |
parsed_notes = ask_gpt(f"""
|
285 |
Please parse the following medical note in point form, without losing any important information:
|
286 |
`{text}`
|
|
|
296 |
- <point 2>
|
297 |
- ...
|
298 |
|
299 |
+
**Patient's health indicators and clinical tests**:
|
300 |
- <test 1>
|
301 |
- <test 2>
|
302 |
|