richlai commited on
Commit
efe941e
·
1 Parent(s): edb6f43

fix app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -87,8 +87,10 @@ async def main():
87
  pbars = []
88
 
89
  for i, batch in enumerate(batches):
90
- pbar = tqdm(total=len(batch), desc=f"Batch {
91
- i+1}/{len(batches)}", position=i)
 
 
92
  pbars.append(pbar)
93
 
94
  if i == 0:
 
87
  pbars = []
88
 
89
  for i, batch in enumerate(batches):
90
+ pbar = tqdm(
91
+ total=len(batch),
92
+ desc=f"Batch {i+1}/{len(batches)}",
93
+ position=i)
94
  pbars.append(pbar)
95
 
96
  if i == 0: