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
(chatglm1) D:\project\python-xm\LangChain-ChatGLM-Webui\modelscope>python app.py
2024-02-26 15:18:55,166 - modelscope - INFO - PyTorch version 2.2.1 Found.
2024-02-26 15:18:55,167 - modelscope - INFO - Loading ast index from C:\Users\qyy.cache\modelscope\ast_indexer
2024-02-26 15:18:55,348 - modelscope - INFO - Loading done! Current index file version is 1.12.0, with md5 975d57f028ccfb59f897d1a43145be7b and a total number of 964 components indexed
D:\Anaconda\Anaconda\envs\chatglm1\Lib\site-packages\langchain\document_loaders_init_.py:36: LangChainDeprecationWarning: Importing document loaders from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.document_loaders import UnstructuredFileLoader.
To install langchain-community run pip install -U langchain-community.
warnings.warn(
D:\Anaconda\Anaconda\envs\chatglm1\Lib\site-packages\langchain\vectorstores_init_.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.vectorstores import FAISS.
To install langchain-community run pip install -U langchain-community.
warnings.warn(
D:\Anaconda\Anaconda\envs\chatglm1\Lib\site-packages\pydantic_internal_fields.py:151: UserWarning: Field "model_id" has conflict with protected namespace "model_".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
Traceback (most recent call last):
File "D:\project\python-xm\LangChain-ChatGLM-Webui\modelscope\app.py", line 223, in
chatbot = gr.Chatbot(label='ChatLLM').scale(height=400)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
大佬们,我运行
cd modelscope python3 app.py
后出现了这个错误,请问怎么解决?
我的环境:centos7,python3.9,cuda11.8,torch2.1.0
The text was updated successfully, but these errors were encountered: