You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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