Meet Radadiya commited on
Commit
434f8b8
·
1 Parent(s): 3eb6244

Final Tuning

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -530,12 +530,12 @@ def generate_radiology_report_groq(uploaded_file, client):
530
  "role": "user",
531
  "content": [
532
  {"type": "text", "text": (
533
- """As a radiologist, analyze the following MRI report and provide a comprehensive report structured as follows:
534
 
535
- 1. **DIAGNOSIS**: Clearly state the primary diagnosis, including dimensions where applicable (e.g., if a tumor is present). Use specific anatomical terms relevant to the body part being examined.
536
 
537
  2. **FINDINGS**:
538
- - Provide detailed observations from the MRI report, including:
539
  - The size, shape, and location of any lesions or abnormalities if applicable.
540
  - Description of the surrounding tissues and structures if applicable.
541
  - Any noted changes in signal intensity on various sequences (e.g., T1W, T2W, FLAIR) if applicable.
 
530
  "role": "user",
531
  "content": [
532
  {"type": "text", "text": (
533
+ """As a radiologist, analyze the following Medical report and provide a comprehensive report structured as follows:
534
 
535
+ 1. **DIAGNOSIS**: Clearly state the primary diagnosis, including dimensions in mmIf where applicable (e.g., if a tumor is present). Use specific anatomical terms relevant to the body part being examined.If it is chest xray also mention if pneumonia is present or not.
536
 
537
  2. **FINDINGS**:
538
+ - Provide detailed observations from the Medical report, including:
539
  - The size, shape, and location of any lesions or abnormalities if applicable.
540
  - Description of the surrounding tissues and structures if applicable.
541
  - Any noted changes in signal intensity on various sequences (e.g., T1W, T2W, FLAIR) if applicable.