remove extra shared.total_tqdm.update call

This commit is contained in:
genevera
2023-05-31 16:31:45 -04:00
parent 39904fe789
commit a65b4fbb6c

View File

@@ -210,7 +210,6 @@ def batch_tab():
break
image = Image.open(os.path.join(folder, file)).convert('RGB')
captions.append(ci.generate_caption(image))
shared.total_tqdm.update()
except OSError:
print(f" Could not read {file}; continuing")
continue