Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

Demo演示无法给出输出内容

Open AIGeorgeLi opened this issue 2 years ago • 7 comments
trafficstars

你好,测试了项目自带新闻稿示例和自行上传的一个文本,可以加载进去,但是无法给出答案,请问属于什么情况,如何解决,谢谢。PS: 1、今天早上刚下载全部代码;2、硬件服务器满足要求;3、按操作说明正常操作。

AIGeorgeLi avatar Apr 12 '23 00:04 AIGeorgeLi

请看一下命令行里有没有加载过程提示

imClumsyPanda avatar Apr 12 '23 01:04 imClumsyPanda

我也有这个问题

lsmegranate avatar Apr 12 '23 02:04 lsmegranate

有提示 ,未知样式参数:height。但可以正常访问Demo界面()如下: /anaconda3/envs/env2/lib/python3.10/site-packages/gradio/components.py:164: UserWarning: Unknown style parameter: height warnings.warn(f"Unknown style parameter: {key}")

PS: webui.py最后一行 share已调为True:server_name='0.0.0.0', share=True, inbrowser=False)

AIGeorgeLi avatar Apr 12 '23 03:04 AIGeorgeLi

可能是gradio版本的问题 建议升级至最新版

AIGeorgeLi @.***>于2023年4月12日 周三11:41写道:

有提示 ,未知样式参数:height。但可以正常访问Demo界面()如下: /anaconda3/envs/env2/lib/python3.10/site-packages/gradio/components.py:164: UserWarning: Unknown style parameter: height warnings.warn(f"Unknown style parameter: {key}")

PS: webui.py最后一行 share已调为True:server_name='0.0.0.0', share=True, inbrowser=False)

— Reply to this email directly, view it on GitHub https://github.com/imClumsyPanda/langchain-ChatGLM/issues/59#issuecomment-1504538836, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5ETC42E654PPQDZVJA3XAYP6FANCNFSM6AAAAAAW26ZUV4 . You are receiving this because you commented.Message ID: @.***>

imClumsyPanda avatar Apr 12 '23 03:04 imClumsyPanda

可能是gradio版本的问题 建议升级至最新版 AIGeorgeLi @.>于2023年4月12日 周三11:41写道: 有提示 ,未知样式参数:height。但可以正常访问Demo界面()如下: /anaconda3/envs/env2/lib/python3.10/site-packages/gradio/components.py:164: UserWarning: Unknown style parameter: height warnings.warn(f"Unknown style parameter: {key}") PS: webui.py最后一行 share已调为True:server_name='0.0.0.0', share=True, inbrowser=False) — Reply to this email directly, view it on GitHub <#59 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5ETC42E654PPQDZVJA3XAYP6FANCNFSM6AAAAAAW26ZUV4 . You are receiving this because you commented.Message ID: @.>

好的,回来试试,谢谢。

AIGeorgeLi avatar Apr 12 '23 03:04 AIGeorgeLi

请参考 README 中常见问题完成 nltk_data 相关包的下载

AIGeorgeLi @.***>于2023年4月12日 周三14:22写道:

有提示 ,未知样式参数:height。但可以正常访问Demo界面()如下: /anaconda3/envs/env2/lib/python3.10/site-packages/gradio/components.py:164: UserWarning: Unknown style parameter: height warnings.warn(f"Unknown style parameter: {key}")

PS: webui.py最后一行 share已调为True:server_name='0.0.0.0', share=True, inbrowser=False)

你好,重新做了gradio版本更新 更新到3.25最新版本,重新运行,结果提示文本加载失败,有时点击加载没发应错误。 This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces [nltk_data] Error loading punkt: <urlopen error [Errno 111] Connection [nltk_data] refused> [nltk_data] Error loading averaged_perceptron_tagger: <urlopen error [nltk_data] [Errno 111] Connection refused> 新闻稿示例.txt 未能成功加载

— Reply to this email directly, view it on GitHub https://github.com/imClumsyPanda/langchain-ChatGLM/issues/59#issuecomment-1504727738, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EUEUO4KRVQXPLDSYR3XAZC27ANCNFSM6AAAAAAW26ZUV4 . You are receiving this because you commented.Message ID: @.***>

imClumsyPanda avatar Apr 12 '23 06:04 imClumsyPanda

请参考 README 中常见问题完成 nltk_data 相关包的下载 AIGeorgeLi @.>于2023年4月12日 周三14:22写道: 有提示 ,未知样式参数:height。但可以正常访问Demo界面()如下: /anaconda3/envs/env2/lib/python3.10/site-packages/gradio/components.py:164: UserWarning: Unknown style parameter: height warnings.warn(f"Unknown style parameter: {key}") PS: webui.py最后一行 share已调为True:server_name='0.0.0.0', share=True, inbrowser=False) 你好,重新做了gradio版本更新 更新到3.25最新版本,重新运行,结果提示文本加载失败,有时点击加载没发应错误。 This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces [nltk_data] Error loading punkt: <urlopen error [Errno 111] Connection [nltk_data] refused> [nltk_data] Error loading averaged_perceptron_tagger: <urlopen error [nltk_data] [Errno 111] Connection refused> 新闻稿示例.txt 未能成功加载 — Reply to this email directly, view it on GitHub <#59 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EUEUO4KRVQXPLDSYR3XAZC27ANCNFSM6AAAAAAW26ZUV4 . You are receiving this because you commented.Message ID: @.>

收到,回来再试试,谢谢。另: ReadMe底部的微信二维码可能有问题,加不了。方便时可以了解下。

AIGeorgeLi avatar Apr 12 '23 06:04 AIGeorgeLi