haxerwddle commited on
Commit
8fe984f
·
1 Parent(s): f9a1760

prompt model change

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ def explain_recycling(class_label):
42
  prompt = f"""
43
  Give recycling instructions for item {class_label}.
44
  You should answer in this format:
45
- • Recycling type: <{class_label}> \n
46
- • Disposal: <one clear correct sentence>\n
47
  """
48
 
49
  inputs = tokenizer(prompt, return_tensors="pt").input_ids
 
42
  prompt = f"""
43
  Give recycling instructions for item {class_label}.
44
  You should answer in this format:
45
+ • Recycling type: <trash type> \n
46
+ • Disposal: <At least 2 sentences, creative to dispose of the item>\n
47
  """
48
 
49
  inputs = tokenizer(prompt, return_tensors="pt").input_ids