Spaces:
Sleeping
Sleeping
Commit ·
b0d3dfc
1
Parent(s): db5bffa
UI change
Browse files
app.py
CHANGED
|
@@ -35,10 +35,10 @@ def explain_recycling(class_label):
|
|
| 35 |
You are a waste management expert.
|
| 36 |
|
| 37 |
The waste item is classified as: **{class_label}**.
|
| 38 |
-
Provide
|
| 39 |
|
| 40 |
-
1. How to dispose of {class_label} correctly.
|
| 41 |
-
2. Optional tips for reducing waste or reusing {class_label}.
|
| 42 |
"""
|
| 43 |
|
| 44 |
inputs = tokenizer(prompt, return_tensors="pt").input_ids
|
|
|
|
| 35 |
You are a waste management expert.
|
| 36 |
|
| 37 |
The waste item is classified as: **{class_label}**.
|
| 38 |
+
Provide instruction for the following:
|
| 39 |
|
| 40 |
+
1. How to dispose of {class_label} correctly. (1- 2 sentences)
|
| 41 |
+
2. Optional tips for reducing waste or reusing {class_label}. (2 - 3 sentences)
|
| 42 |
"""
|
| 43 |
|
| 44 |
inputs = tokenizer(prompt, return_tensors="pt").input_ids
|