fix app.py
Browse files
app.py
CHANGED
@@ -87,8 +87,10 @@ async def main():
|
|
87 |
pbars = []
|
88 |
|
89 |
for i, batch in enumerate(batches):
|
90 |
-
pbar = tqdm(
|
91 |
-
|
|
|
|
|
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:
|