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

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`."