Skip to content

Commit 4f0ce6f

Browse files
fix unicode issue
1 parent ed3f602 commit 4f0ce6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

embedding_as_service/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def download_from_url(url: str, download_path: str) -> None:
119119
f.write(data)
120120
done = int(50*downloaded/total)
121121
sys.stdout.write('\r[{}{}] {} % [{}/{} kb]'.
122-
format('' * done, '.' * (50-done), int(done * 2),
122+
format('|' * done, '.' * (50-done), int(done * 2),
123123
int(downloaded/1024), total_kb))
124124
sys.stdout.flush()
125125
sys.stdout.write('\n')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setuptools.setup(
1010
name="embedding_as_service",
11-
version="0.9.0",
11+
version="1.0.0",
1212
author="Aman Srivastava",
1313
author_email="amans.rlx@gmail.com",
1414
description="embedding-as-service: one-stop solution to encode sentence to vectors using various embedding methods",

0 commit comments

Comments
 (0)