XPMaster commited on
Commit
92fae65
·
1 Parent(s): 5876c76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ dmojis = ["0️⃣", "1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6
37
 
38
  # Initialize user_features and n_clusters_advanced outside of any condition
39
  user_features = [6.5, 3.5, 4.5, 1.5]
40
- n_clusters_advanced = 3
41
 
42
  if st.session_state.toggle:
43
  # User Input on Sidebar
@@ -98,7 +98,7 @@ with tab1:
98
  x=user_features[0],
99
  y=user_features[1],
100
  xshift=10,
101
- text="Your Flower Group("+str(predicted_cluster[0]+1)+")",
102
  font=dict(color='white', size=30),
103
  arrowhead=2,
104
  ax=10,
 
37
 
38
  # Initialize user_features and n_clusters_advanced outside of any condition
39
  user_features = [6.5, 3.5, 4.5, 1.5]
40
+ n_clusters_advanced = 2
41
 
42
  if st.session_state.toggle:
43
  # User Input on Sidebar
 
98
  x=user_features[0],
99
  y=user_features[1],
100
  xshift=10,
101
+ text="Your Flower ("+dmojis[(predicted_cluster[0]+1)]+")",
102
  font=dict(color='white', size=30),
103
  arrowhead=2,
104
  ax=10,