MohitG012 commited on
Commit
c8f2f72
·
verified ·
1 Parent(s): 0ec3fb2

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +18 -18
src/streamlit_app.py CHANGED
@@ -58,24 +58,24 @@ def generate_outfit_gemma(img, row, username, suggestions=5):
58
  "content": [
59
  {"type": "image", "image": img.convert("RGB")},
60
  {"type": "text", "text": f"""
61
- Suggest {suggestions} stylish outfit items that complement this item:
62
-
63
- **Product**:
64
- Name: {row['product_name']}
65
- Brand: {row['brand']}
66
- Style: {row['style_attributes']}
67
- Description: {row['description']}
68
- Price: ₹{row['selling_price']}
69
-
70
- **User Likes**:
71
- Brands: {brands}
72
- Styles: {styles}
73
- Liked Items: {desc}
74
-
75
- **Trends**:
76
- {trend_string}
77
-
78
- Output in bullet list with name + explanation.
79
  """}
80
  ]
81
  }]
 
58
  "content": [
59
  {"type": "image", "image": img.convert("RGB")},
60
  {"type": "text", "text": f"""
61
+ Suggest {suggestions} stylish outfit items that complement this item:
62
+
63
+ **Product**:
64
+ Name: {row['product_name']}
65
+ Brand: {row['brand']}
66
+ Style: {row['style_attributes']}
67
+ Description: {row['description']}
68
+ Price: ₹{row['selling_price']}
69
+
70
+ **User Likes**:
71
+ Brands: {brands}
72
+ Styles: {styles}
73
+ Liked Items: {desc}
74
+
75
+ **Trends**:
76
+ {trend_string}
77
+
78
+ Output in bullet list with name + explanation.
79
  """}
80
  ]
81
  }]