Skip to content

Commit

Permalink
fix unicode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
amansrivastava17 committed Sep 4, 2019
1 parent ed3f602 commit 4f0ce6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion embedding_as_service/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def download_from_url(url: str, download_path: str) -> None:
f.write(data)
done = int(50*downloaded/total)
sys.stdout.write('\r[{}{}] {} % [{}/{} kb]'.
format('' * done, '.' * (50-done), int(done * 2),
format('|' * done, '.' * (50-done), int(done * 2),
int(downloaded/1024), total_kb))
sys.stdout.flush()
sys.stdout.write('\n')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="embedding_as_service",
version="0.9.0",
version="1.0.0",
author="Aman Srivastava",
author_email="[email protected]",
description="embedding-as-service: one-stop solution to encode sentence to vectors using various embedding methods",
Expand Down

0 comments on commit 4f0ce6f

Please sign in to comment.