Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,8 +41,8 @@ def parse_non_json_response(text):
|
|
| 41 |
|
| 42 |
def get_diagnosis(age, gender, symptoms, medical_history):
|
| 43 |
prompt = f"""
|
| 44 |
-
Given the following patient information, provide a preliminary analysis of potential cancer risks.
|
| 45 |
-
|
| 46 |
|
| 47 |
Patient Information:
|
| 48 |
Age: {age}
|
|
|
|
| 41 |
|
| 42 |
def get_diagnosis(age, gender, symptoms, medical_history):
|
| 43 |
prompt = f"""
|
| 44 |
+
Given the following patient information, provide a preliminary analysis of potential cancer risks and recommended tests.
|
| 45 |
+
Give professional medical advice to the best of your ability.
|
| 46 |
|
| 47 |
Patient Information:
|
| 48 |
Age: {age}
|