-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行webui后报TypeError #3916
Comments
The TypeError you're encountering, where a 'NoneType' object is not iterable, typically occurs when an expected iterable object (like a list or dictionary) returns To address this issue, consider implementing checks to ensure that the data you're attempting to iterate over is not Additionally, review the application's logic related to data loading and processing, especially around the areas indicated by the error traceback. There might be a need to debug the application to pinpoint the exact location where the If the issue persists, consider revisiting the repository's issues and discussions for similar problems and their resolutions. Sometimes, compatibility issues with specific models or configurations can lead to unexpected behavior, so ensuring that all components are correctly configured and compatible with each other is crucial. Lastly, ensure your environment matches the requirements for the application, including the correct Python version and dependencies. Sometimes, discrepancies in the environment can lead to subtle bugs and errors.
|
你localhost:7861这个没有启动,或模型设置没有完整(model_config.py)导致启动后加载的模型列表为空 |
请问怎么解决呢 |
将本地或在线模型配置上
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2024年04月30日 08:01 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [chatchat-space/Langchain-Chatchat] 运行webui后报TypeError (Issue #3916) |
你localhost:7861这个没有启动,或模型设置没有完整(model_config.py)导致启动后加载的模型列表为空
请问怎么解决呢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
老师你好,我运行wiki给出的镜像也是同样的报错,enableCROS=false的时候就会报错,=true的时候,streamlit就加载不出来,请问这个怎么解决 |
模型路径换成绝对的 |
老师你好,我一直用的就是绝对路径,原先运行startup一直加载不出来,我在startup文件中加入enableCORS false之后,可以运行-a,但是运行-w仍然是相同的报错,请问这是什么原因 |
遇到了相同的问题,把server/utils.py中的以下代码 `def fschat_controller_address() -> str:
改成了
之后解决了,原本的问题是127.0.0.1只能本地访问,而我使用了远程服务器 |
问题描述 / Problem Description


严格按照readme部署,运行startup后ui界面无法打开,运行webui报TypeError,
可能原因是模型没加载成功,但是我又运行了一边大模型,问答都正常
实在不知道怎么解决了,求助
预期的结果 / Expected Result
webui界面正常打开
实际结果 / Actual Result
webui报错
环境信息 / Environment Information
The text was updated successfully, but these errors were encountered: