Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ if user_type == 'New User':
|
|
| 67 |
'Processor Brand', 'SSD', 'RAM (in GB)', 'RAM Type', 'Expandable Memory',
|
| 68 |
'Operating System', 'Touchscreen', 'Screen Size (in inch)', 'Weight (in kg)',
|
| 69 |
'Refresh Rate', 'screen_resolution', 'company', 'Storage', 'Processor name',
|
| 70 |
-
'CPU_ranking', 'battery_backup', 'gpu name ', 'gpu_benchmark']]
|
| 71 |
|
| 72 |
# Hyperlink the 'click to buy' text for the link column
|
| 73 |
recommendations_table['link'] = recommendations_table['link'].apply(lambda x: f"[click to buy]({x})")
|
|
@@ -90,7 +90,7 @@ elif user_type == 'Existing User':
|
|
| 90 |
'Processor Brand', 'SSD', 'RAM (in GB)', 'RAM Type', 'Expandable Memory',
|
| 91 |
'Operating System', 'Touchscreen', 'Screen Size (in inch)', 'Weight (in kg)',
|
| 92 |
'Refresh Rate', 'screen_resolution', 'company', 'Storage', 'Processor name',
|
| 93 |
-
'CPU_ranking', 'battery_backup', 'gpu name ', 'gpu_benchmark']]
|
| 94 |
|
| 95 |
# Hyperlink the 'click to buy' text for the link column
|
| 96 |
recommendations_table['link'] = recommendations_table['link'].apply(lambda x: f"[click to buy]({x})")
|
|
|
|
| 67 |
'Processor Brand', 'SSD', 'RAM (in GB)', 'RAM Type', 'Expandable Memory',
|
| 68 |
'Operating System', 'Touchscreen', 'Screen Size (in inch)', 'Weight (in kg)',
|
| 69 |
'Refresh Rate', 'screen_resolution', 'company', 'Storage', 'Processor name',
|
| 70 |
+
'CPU_ranking', 'battery_backup', 'gpu name ', 'gpu_benchmark', 'link']]
|
| 71 |
|
| 72 |
# Hyperlink the 'click to buy' text for the link column
|
| 73 |
recommendations_table['link'] = recommendations_table['link'].apply(lambda x: f"[click to buy]({x})")
|
|
|
|
| 90 |
'Processor Brand', 'SSD', 'RAM (in GB)', 'RAM Type', 'Expandable Memory',
|
| 91 |
'Operating System', 'Touchscreen', 'Screen Size (in inch)', 'Weight (in kg)',
|
| 92 |
'Refresh Rate', 'screen_resolution', 'company', 'Storage', 'Processor name',
|
| 93 |
+
'CPU_ranking', 'battery_backup', 'gpu name ', 'gpu_benchmark', 'link']]
|
| 94 |
|
| 95 |
# Hyperlink the 'click to buy' text for the link column
|
| 96 |
recommendations_table['link'] = recommendations_table['link'].apply(lambda x: f"[click to buy]({x})")
|