sachithcheruvaturfynd commited on
Commit
958d2a5
1 Parent(s): d6041d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -40
app.py CHANGED
@@ -29,46 +29,6 @@ dataset_choice = st.selectbox(
29
  ["Sephora Order Complete Dataset", "Reliance Digital Order Complete Dataset"]
30
  )
31
 
32
- # HTML and CSS for a hover tooltip
33
- tooltip_html = """
34
- <style>
35
- .tooltip {
36
- position: relative;
37
- display: inline-block;
38
- border-bottom: 1px dotted black;
39
- }
40
-
41
- .tooltip .tooltiptext {
42
- visibility: hidden;
43
- width: 120px;
44
- background-color: black;
45
- color: #fff;
46
- text-align: center;
47
- border-radius: 5px;
48
- padding: 5px;
49
- position: absolute;
50
- z-index: 1;
51
- bottom: 150%;
52
- left: 50%;
53
- margin-left: -60px;
54
- opacity: 0;
55
- transition: opacity 0.3s;
56
- }
57
-
58
- .tooltip:hover .tooltiptext {
59
- visibility: visible;
60
- opacity: 1;
61
- }
62
- </style>
63
-
64
- <div class="tooltip">Hover over me
65
- <span class="sachith">Tooltip text</span>
66
- </div>
67
- """
68
-
69
- # Inject the custom HTML
70
- st.markdown(tooltip_html, unsafe_allow_html=True)
71
-
72
  if dataset_choice == "Sephora Order Complete Dataset":
73
  list_of_products_to_display = {}
74
  for itemid in (list(all_products_with_names_sephora.keys())): #for items in the total list of items in all transactions
 
29
  ["Sephora Order Complete Dataset", "Reliance Digital Order Complete Dataset"]
30
  )
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  if dataset_choice == "Sephora Order Complete Dataset":
33
  list_of_products_to_display = {}
34
  for itemid in (list(all_products_with_names_sephora.keys())): #for items in the total list of items in all transactions