Closed Suyuan406 closed 9 months ago
+1
+1
好的,我调查一下
能复现。
2023-11-14 10:07:27,082 [WARNING] [duckduckgo_search.py:52] _get_url() https://lite.duckduckgo.com/lite/ HTTPStatusError Client error '403 Forbidden' for url 'https://lite.duckduckgo.com/lite/'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
2023-11-14 10:07:30,111 [WARNING] [duckduckgo_search.py:52] _get_url() https://lite.duckduckgo.com/lite/ HTTPStatusError Client error '403 Forbidden' for url 'https://lite.duckduckgo.com/lite/'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
2023-11-14 10:07:33,138 [WARNING] [duckduckgo_search.py:52] _get_url() https://lite.duckduckgo.com/lite/ HTTPStatusError Client error '403 Forbidden' for url 'https://lite.duckduckgo.com/lite/'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
看样子是 DuckDuckGo 的 API 出问题了。
请升级duckduckgo的版本,并重新安装gradio:
pip install duckduckgo-search --upgrade
pip install gradio==3.43.2
经过我的测试,这样可以解决在线搜索不能用的问题。在最新的依赖中,我提升了duckduckgo的版本。
是否已存在现有反馈与解答?
是否是一个代理配置相关的疑问?
错误描述
使用docker部署,目前在线搜索不能使用,勾选就报错![屏幕截图 2023-11-12 170928](https://github.com/GaiZhenbiao/ChuanhuChatGPT/assets/73843390/92806775-e30c-4f5b-b633-7a6bc222769b)
复现操作
使用docker部署,目前在线搜索不能使用,勾选就报错,不勾选可以正常回答,我已经看过以前类似的issue了,无法解决,我的服务器是国外的,不存在网络问题,麻烦作者抽个解决一下呗,感谢!
错误日志
运行环境
补充说明
No response