Spaces:
Runtime error
Runtime error
camphong24032002
commited on
Commit
·
04ee0f7
1
Parent(s):
c7e38fc
Test
Browse files
app.py
CHANGED
@@ -23,8 +23,8 @@ def concat_content(title, value):
|
|
23 |
|
24 |
def df_to_text(df):
|
25 |
text = []
|
26 |
-
titles = ["Product ID", "Product Name", "
|
27 |
-
cols = ["ProductID", "ProductName", "
|
28 |
for data in df:
|
29 |
for title, col in zip(titles, cols):
|
30 |
text.append(concat_content(title, col))
|
|
|
23 |
|
24 |
def df_to_text(df):
|
25 |
text = []
|
26 |
+
titles = ["Product ID", "Product Name", "Gender", "Price (INR)", "Primary Color"]
|
27 |
+
cols = ["ProductID", "ProductName", "Gender", "Price (INR)", "PrimaryColor"]
|
28 |
for data in df:
|
29 |
for title, col in zip(titles, cols):
|
30 |
text.append(concat_content(title, col))
|