davidefiocco commited on
Commit
8e532c0
1 Parent(s): 7768d4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ if st.button("Calculate labels"):
50
  try:
51
  labels_list = labels.split(",")
52
  table = pd.read_excel(data)
53
- table = table.loc[table["text"].apply(len) > 10].head(N).reset_index(drop=True)
54
 
55
  prog_bar = st.progress(0)
56
  preds = []
 
50
  try:
51
  labels_list = labels.split(",")
52
  table = pd.read_excel(data)
53
+ table = table.head(N).reset_index(drop=True)
54
 
55
  prog_bar = st.progress(0)
56
  preds = []