Spaces:
Runtime error
Runtime error
pixel3user
commited on
Commit
·
2d88b86
1
Parent(s):
201e8d5
products
Browse files
app.py
CHANGED
|
@@ -242,7 +242,7 @@ def pet_answer_with_recs(image, question, temperature=0.7, top_p=0.95, max_token
|
|
| 242 |
if include_products:
|
| 243 |
sections.append(f"Suggested products:\n{suggestions}")
|
| 244 |
sections.append(safety)
|
| 245 |
-
|
| 246 |
return "\n\n".join([s for s in sections if s])
|
| 247 |
|
| 248 |
# ---- UI ----
|
|
|
|
| 242 |
if include_products:
|
| 243 |
sections.append(f"Suggested products:\n{suggestions}")
|
| 244 |
sections.append(safety)
|
| 245 |
+
|
| 246 |
return "\n\n".join([s for s in sections if s])
|
| 247 |
|
| 248 |
# ---- UI ----
|