Disable tqdm.

#48
by ivanstepanovftw - opened

Previously tried to disable useless tqdm without luck when performing .encode() until someone pointed me to the root cause, to this repo. Here is the description of the tqdm issue: https://github.com/huggingface/transformers/issues/34438

I just saw that this issue was posted here as well. I replied in https://huggingface.co/jinaai/jina-embeddings-v3/discussions/66
You can just set show_progress_bar=False in the encode function. Take a look at the linked issue for a more extensive explanation. If you have more questions, let me know :)

Sign up or log in to comment