haxerwddle commited on
Commit
a8f4197
·
1 Parent(s): d3dad87

prompt model change

Browse files
Files changed (1) hide show
  1. app.py +6 -7
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
- 1. **Recycling type** (organic, recyclable plastic, paper, metal, glass, hazardous, landfill-only, compost, etc.)
50
- 2. **Why this material belongs to this category** (short analysis)
51
- 3. **How to dispose of it correctly**
52
- 4. **How it is recycled or processed**
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