Spaces:
Sleeping
Sleeping
davidefiocco
commited on
Commit
•
8e532c0
1
Parent(s):
7768d4a
Update app.py
Browse files
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.
|
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 = []
|