Spaces:
Runtime error
Runtime error
Faisal
commited on
Commit
Β·
a44d8af
1
Parent(s):
8b36615
Restore GPU version - remove CPU optimizations and restore GPU-compatible dependencies
Browse files
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 |
-
|
| 110 |
-
|
|
|
|
| 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}
|