Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
11093dc
·
verified ·
1 Parent(s): 53a2985

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -714,7 +714,7 @@ with demo:
714
  column_values_unique = sorted(dataframe1.iloc[:, 3].unique())
715
  dataframe2 = pd.DataFrame({'Levels': column_values_unique})
716
  counts = {}
717
- for value in test_merge.iloc[:, 3]:
718
  counts[value] = counts.get(value, 0) + 1
719
  dataframe2['Members'] = dataframe2['Levels'].map(counts)
720
 
 
714
  column_values_unique = sorted(dataframe1.iloc[:, 3].unique())
715
  dataframe2 = pd.DataFrame({'Levels': column_values_unique})
716
  counts = {}
717
+ for value in data.iloc[:, 3]:
718
  counts[value] = counts.get(value, 0) + 1
719
  dataframe2['Members'] = dataframe2['Levels'].map(counts)
720