Spaces:
Sleeping
Sleeping
Commit ·
1048a5e
1
Parent(s): 0d7841d
UI change
Browse files
app.py
CHANGED
|
@@ -37,8 +37,10 @@ def explain_recycling(class_label):
|
|
| 37 |
The waste item is classified as: **{class_label}**.
|
| 38 |
Provide instruction for the following:
|
| 39 |
|
| 40 |
-
1. How to recycle {class_label} correctly. (2 - 3
|
| 41 |
-
2. Optional tips for reducing {class_label} waste. (2 - 3
|
|
|
|
|
|
|
| 42 |
"""
|
| 43 |
|
| 44 |
inputs = tokenizer(prompt, return_tensors="pt").input_ids
|
|
|
|
| 37 |
The waste item is classified as: **{class_label}**.
|
| 38 |
Provide instruction for the following:
|
| 39 |
|
| 40 |
+
1. How to recycle {class_label} correctly. (2 - 3 bullet points)
|
| 41 |
+
2. Optional tips for reducing {class_label} waste. (2 - 3 bullet points)
|
| 42 |
+
|
| 43 |
+
REMEMBER: Break line after each point.
|
| 44 |
"""
|
| 45 |
|
| 46 |
inputs = tokenizer(prompt, return_tensors="pt").input_ids
|