Spaces:
Sleeping
Sleeping
Commit ·
8dcb13a
1
Parent(s): 3fd6140
prompt model change
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ chat_model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-base")
|
|
| 41 |
def explain_recycling(class_label):
|
| 42 |
prompt = f"""
|
| 43 |
Item: {class_label}
|
| 44 |
-
Provide a recycling
|
| 45 |
• Recycling type: <answer>\n
|
| 46 |
• Disposal: <answer>\n
|
| 47 |
"""
|
|
|
|
| 41 |
def explain_recycling(class_label):
|
| 42 |
prompt = f"""
|
| 43 |
Item: {class_label}
|
| 44 |
+
Provide a recycling instruction in exactly this format:
|
| 45 |
• Recycling type: <answer>\n
|
| 46 |
• Disposal: <answer>\n
|
| 47 |
"""
|