Spaces:
Sleeping
Sleeping
Commit ·
5153761
1
Parent(s): be350ef
UI change
Browse files
app.py
CHANGED
|
@@ -34,17 +34,13 @@ def explain_recycling(class_label):
|
|
| 34 |
prompt = f"""
|
| 35 |
You are a waste management expert.
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
Recycling Instructions:
|
| 40 |
- <instruction_1>
|
| 41 |
- <instruction_2>
|
| 42 |
-
- <instruction_3>
|
| 43 |
|
| 44 |
-
Waste Reduction Tips:
|
| 45 |
- <tip_1>
|
| 46 |
- <tip_2>
|
| 47 |
-
- <tip_3>
|
| 48 |
|
| 49 |
Rules:
|
| 50 |
- Replace ONLY the angle-bracket sections.
|
|
|
|
| 34 |
prompt = f"""
|
| 35 |
You are a waste management expert.
|
| 36 |
|
| 37 |
+
Recycling Instructions for {class_label}:
|
|
|
|
|
|
|
| 38 |
- <instruction_1>
|
| 39 |
- <instruction_2>
|
|
|
|
| 40 |
|
| 41 |
+
Waste Reduction Tips for {class_label}:
|
| 42 |
- <tip_1>
|
| 43 |
- <tip_2>
|
|
|
|
| 44 |
|
| 45 |
Rules:
|
| 46 |
- Replace ONLY the angle-bracket sections.
|