community: fix tqdm import (#20263)

Description: Fix tqdm import in QuantizedBiEncoderEmbeddings
This commit is contained in:
davidefantiniIntel 2024-04-25 20:44:53 +01:00 committed by GitHub
parent 05ae8ca7d4
commit f386f71bb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -178,7 +178,7 @@ For more information, please visit:
"Unable to import pandas, please install with `pip install -U pandas`."
) from e
try:
import tqdm
from tqdm import tqdm
except ImportError as e:
raise ImportError(
"Unable to import tqdm, please install with `pip install -U tqdm`."