Spaces:
Sleeping
Sleeping
Commit ·
a8f4197
1
Parent(s): d3dad87
prompt model change
Browse files
app.py
CHANGED
|
@@ -45,15 +45,14 @@ def explain_recycling(class_label):
|
|
| 45 |
The waste item is classified as: **{class_label}**
|
| 46 |
|
| 47 |
Provide a detailed, well-structured explanation including:
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
5. **Environmental impact if disposed improperly**
|
| 54 |
-
6. **Optional tips for reducing waste or reusing the item**
|
| 55 |
|
| 56 |
Write the response in friendly, clear, detailed paragraphs.
|
|
|
|
| 57 |
"""
|
| 58 |
|
| 59 |
inputs = tokenizer(prompt, return_tensors="pt").input_ids
|
|
|
|
| 45 |
The waste item is classified as: **{class_label}**
|
| 46 |
|
| 47 |
Provide a detailed, well-structured explanation including:
|
| 48 |
+
1. **Recycling type**
|
| 49 |
+
2. **How to dispose of {class_label} correctly**
|
| 50 |
+
3. **How {class_label} is recycled or processed**
|
| 51 |
+
4. **Environmental impact if {class_label} is disposed improperly**
|
| 52 |
+
5. **Optional tips for reducing waste or reusing {class_label}**
|
|
|
|
|
|
|
| 53 |
|
| 54 |
Write the response in friendly, clear, detailed paragraphs.
|
| 55 |
+
Linebreak each point.
|
| 56 |
"""
|
| 57 |
|
| 58 |
inputs = tokenizer(prompt, return_tensors="pt").input_ids
|