Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def get_diagnosis(age, gender, symptoms, medical_history):
|
|
| 54 |
"content": prompt,
|
| 55 |
}
|
| 56 |
],
|
| 57 |
-
model="
|
| 58 |
temperature=0.5,
|
| 59 |
max_tokens=1500,
|
| 60 |
)
|
|
@@ -98,7 +98,7 @@ iface = gr.Interface(
|
|
| 98 |
],
|
| 99 |
outputs=gr.Textbox(label="Assessment Results", lines=10),
|
| 100 |
title="Cancer Risk Assessment Tool",
|
| 101 |
-
description="This tool provides a preliminary analysis based on provided information. It is not a substitute for professional medical advice, diagnosis, or treatment.",
|
| 102 |
article="IMPORTANT: This application is for educational purposes only. Always consult with a qualified healthcare provider for medical concerns. The information provided by this tool should not be used for self-diagnosis or treatment."
|
| 103 |
)
|
| 104 |
|
|
|
|
| 54 |
"content": prompt,
|
| 55 |
}
|
| 56 |
],
|
| 57 |
+
model="llama3-groq-8b-8192-tool-use-preview",
|
| 58 |
temperature=0.5,
|
| 59 |
max_tokens=1500,
|
| 60 |
)
|
|
|
|
| 98 |
],
|
| 99 |
outputs=gr.Textbox(label="Assessment Results", lines=10),
|
| 100 |
title="Cancer Risk Assessment Tool",
|
| 101 |
+
description="This tool from Vers3Dynamics provides a preliminary analysis based on provided information. It is not a substitute for professional medical advice, diagnosis, or treatment.",
|
| 102 |
article="IMPORTANT: This application is for educational purposes only. Always consult with a qualified healthcare provider for medical concerns. The information provided by this tool should not be used for self-diagnosis or treatment."
|
| 103 |
)
|
| 104 |
|