Replies: 1 comment
-
|
我也遇到了,是huggingface_hub库版本问题,可执行以下操作解决: 参见: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
ModuleNotFoundError: No module named 'huggingface_hub.inference._text_generation'
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/mnt/workspace/webcodes/ChatGLM3/composite_demo/main.py", line 10, in
import demo_chat, demo_ci, demo_tool
File "/mnt/workspace/webcodes/ChatGLM3/composite_demo/demo_chat.py", line 4, in
from client import get_client
File "/mnt/workspace/webcodes/ChatGLM3/composite_demo/client.py", line 9, in
from huggingface_hub.inference._text_generation import TextGenerationStreamResponse, Token
Beta Was this translation helpful? Give feedback.
All reactions