Faisal commited on
Commit
a44d8af
Β·
1 Parent(s): 8b36615

Restore GPU version - remove CPU optimizations and restore GPU-compatible dependencies

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -106,8 +106,9 @@ def process_pipeline(image, user_question):
106
 
107
  # Send MedVLM output to DeepSeek R1
108
  prompt = f"""The following is a medical AI's answer to a visual question.
109
- Keep the answer precise but structured, and helpful for a medical professional. Focus on abnormality.
110
- make a table using the details from the original answer.
 
111
 
112
  Original Answer:
113
  {output_text}
 
106
 
107
  # Send MedVLM output to DeepSeek R1
108
  prompt = f"""The following is a medical AI's answer to a visual question.
109
+ The answer is about having tumour or not, focus on that mostly.
110
+ Keep the answer precise but more structured, and helpful for a medical professional.
111
+ If possible, make a table using the details from the original answer.
112
 
113
  Original Answer:
114
  {output_text}