Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a57b587

Browse files
authoredMar 19, 2021
Have progress meter actually reach 100% (#14) (#8)
* Have progress meter actually reach 100% * version number
1 parent 4e38179 commit a57b587

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎openai/upload_progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ def progress(total, desc):
4040
meter = tqdm.tqdm(total=total, unit_scale=True, desc=desc)
4141

4242
def incr(progress):
43+
meter.n = progress
4344
if progress == total:
4445
meter.close()
4546
else:
46-
meter.n = progress
4747
meter.refresh()
4848

4949
return incr

‎openai/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.6.0"
1+
VERSION = "0.6.1"

0 commit comments

Comments
 (0)
Please sign in to comment.