Replies: 1 comment 1 reply
-
懂了,0.19.4才有这个模块,最新的0.22.0没有了 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
huggingface_hub的库已经使用pip安装,这个问题是现在调用名字修改了么
这是运行后返回的
File "E:\ProgramData\miniconda3\envs\chatglm3-demo\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 584, in _run_script
exec(code, module.dict)
File "E:\AI\ChatGLM3\composite_demo\main.py", line 10, in
import demo_chat, demo_ci, demo_tool
File "E:\ai\ChatGLM3\composite_demo\demo_chat.py", line 4, in
from client import get_client
File "E:\ai\ChatGLM3\composite_demo\client.py", line 9, in
from huggingface_hub.inference._text_generation import TextGenerationStreamResponse, Token
ModuleNotFoundError: No module named 'huggingface_hub.inference._text_generation'
Beta Was this translation helpful? Give feedback.
All reactions