haxerwddle commited on
Commit
90390c9
·
1 Parent(s): 4c4bef2

prompt model change

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -43,13 +43,12 @@ def explain_recycling(class_label):
43
  You are a waste management expert.
44
 
45
  The waste item is classified as: **{class_label}**
46
- Provide a detailed, well-structured explanation including:
47
 
48
  1. **How to dispose of {class_label} correctly**
49
  2. **How {class_label} is recycled or processed**
50
  3. **Optional tips for reducing waste or reusing {class_label}**
51
 
52
- Write the response in 3 paragraphs.
53
  """
54
 
55
  inputs = tokenizer(prompt, return_tensors="pt").input_ids
 
43
  You are a waste management expert.
44
 
45
  The waste item is classified as: **{class_label}**
46
+ Provide a 3-paragraph explanation including:
47
 
48
  1. **How to dispose of {class_label} correctly**
49
  2. **How {class_label} is recycled or processed**
50
  3. **Optional tips for reducing waste or reusing {class_label}**
51
 
 
52
  """
53
 
54
  inputs = tokenizer(prompt, return_tensors="pt").input_ids