Muhammad Abdiel Al Hafiz
commited on
Commit
·
af6e67e
1
Parent(s):
a8296f6
changes prompt
Browse files
app.py
CHANGED
@@ -19,12 +19,7 @@ labels = ['cataract', 'diabetic_retinopathy', 'glaucoma', 'normal']
|
|
19 |
def get_disease_detail(disease_name):
|
20 |
if disease_name == "normal":
|
21 |
prompt = (
|
22 |
-
"
|
23 |
-
"Here are some tips to maintain healthy eyes:\n"
|
24 |
-
"- Eat a balanced diet rich in vitamins A, C, and E.\n"
|
25 |
-
"- Get regular eye check-ups.\n"
|
26 |
-
"- Protect your eyes from UV light by wearing sunglasses.\n"
|
27 |
-
"Stay healthy and always take care of your eyes!"
|
28 |
)
|
29 |
else:
|
30 |
prompt = (
|
|
|
19 |
def get_disease_detail(disease_name):
|
20 |
if disease_name == "normal":
|
21 |
prompt = (
|
22 |
+
"create a text to congratulate and welcome them and give them tips to keep their eyes healthy, then remind them to check up with their doctor."
|
|
|
|
|
|
|
|
|
|
|
23 |
)
|
24 |
else:
|
25 |
prompt = (
|