mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 08:33:49 +00:00
community: fix tqdm import (#20263)
Description: Fix tqdm import in QuantizedBiEncoderEmbeddings
This commit is contained in:
parent
05ae8ca7d4
commit
f386f71bb3
@ -178,7 +178,7 @@ For more information, please visit:
|
|||||||
"Unable to import pandas, please install with `pip install -U pandas`."
|
"Unable to import pandas, please install with `pip install -U pandas`."
|
||||||
) from e
|
) from e
|
||||||
try:
|
try:
|
||||||
import tqdm
|
from tqdm import tqdm
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
raise ImportError(
|
raise ImportError(
|
||||||
"Unable to import tqdm, please install with `pip install -U tqdm`."
|
"Unable to import tqdm, please install with `pip install -U tqdm`."
|
||||||
|
Loading…
Reference in New Issue
Block a user