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