Closed alifemove closed 4 months ago
Hey @alifemove , your issue description says you're using docker, but the stack trace implies you're using the python package. Can you confirm that this is just happening in the python package?
Oh sorry @sabaimran, I'm using the python package.
Got it, let me investigate and see what's up. Is this a first-time install, or did you upgrade? (pip install --upgrade khoj-assistant
)
Upgrade.
Looked at huggingface_hub, the constant being used is definitely there... /shrug
Hmm, might be the hugging face hub package also needs an upgrade. I'm not able to repro your error on a clean install of khoj v1.10.2
.
Yeah, I opened up the huggingface_hub local copy and it doesn't have that var. Python not upgrading dependencies, yay...
Can you run pip show huggingface-hub
in your virtual environment where you're running Khoj and tell me the version of huggingface-hub
? I'll upgrade our min version. Thanks for spotting & reporting this issue!
I was able to pip install --upgrade huggingface_hub
and it works now.
Successfully uninstalled huggingface-hub-0.17.3
Successfully installed huggingface_hub-0.22.2
Thanks much. 🚀
Of course! Thanks for pointing it out. Always feel free to report bugs/issues/feature requests.
Describe the bug
A clear and concise description of what the bug is. Please include what you were expecting to happen vs. what actually happened.
Platform
If self-hosted
khoj --version
or any other command.