weaigc / bingo Goto Github PK
View Code? Open in Web Editor NEWBingo,一个让你呼吸顺畅 New Bing。
Home Page: https://bing.github1s.tk
License: MIT License
Bingo,一个让你呼吸顺畅 New Bing。
Home Page: https://bing.github1s.tk
License: MIT License
今天一天托管的和hf的页面都显示为UnauthorizedRequest,请问这个应该如何处理。
支持支持!能一键部署vercel吗?
从go-proxy-bingai过来的,力挺作者延续了这个作品!
在MacBook Safari14浏览器中,回车键表现为换行,无法发送,发送键也无效
HF 部署时需要填一个 IMAGE_BING_COOKIE ,描述是 Cookie _U 值。我把自己账号的 _U 复制进去了,但是好像并没有生效?还是说这个 IMAGE_BING_COOKIE 应该填 BING_HEADER?
BING_UA='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.0.0'
BING_IP=11.123.111.2
BING_COOKIE='bing.com 名为 _U 的 Cookie 值'
我按照这个设置了环境变量
一键部署到huggingface,输入_U cookie没用,新注册的也不行
hug链接
请教下
_U 的 Cookie已经设置
报错内容:
你已达到每日最大发送消息次数,请[更换账号]或隔一天后重试
能进入Web页面,但点击发送自己提的问题,就会弹出“Application error: a client-side exception has occurred (see the browser console for more information).”
我看了下javascribe控制台,
Blocked a frame with origin "https://bing.github1s.tk" from accessing a frame with origin "https://hf4all-bingo.hf.space". Protocols, domains, and ports must match.
TypeError: l.at is not a function. (In 'l.at(-1)', 'l.at' is undefined)
Unhandled Promise Rejection: TypeError: t.item.messages.at is not a function. (In 't.item.messages.at(-1)', 't.item.messages.at' is undefined)
群晖Docker部署会显示你的服务器或代理已被封禁,请更换服务器或使用代理重试,哪怕是海外也不行,是什么原因呢?
如题,还有就是可以把header写死吗 别人访问的时候不用填,谢谢作者
HuggingFace部署的怎么绑定自己的域名呀?
建议把深色访问加上,要不然我这页面那么白的看不清,只有黑的才能看得清,还有这个新项目做的不错,比上一个bing的项目还要不错一点,继续加油(ง•̀_•́)ง
既然支持wss转发,那么请问接口的地址是什么,求解答
如题,请大神指教
error
你已达到每日最大发送消息次数,请更换账号或隔一天后重试
1 render一键部署时,我用github账号进入render,但自动就登出了,不知道为啥,改用谷歌账号登录后关联github账号由说id被占用。
2 netlify可以部署,但是经常出现unknow errors
3 在部署后的界面里,设置用户时点击登录这个链接https://www.bing.com/turing/captcha/challenge
但是自动跳转为https://cn.bing.com/turing/captcha/challenge ,提示无效域
https://www.bing.com/turing/conversation/create 这个链接打不开,不知道如何
问题3进展,我通过微软虚拟机https://learn.microsoft.com/zh-cn/training/modules/implement-common-integration-features-finance-ops/10-exercise-1
登录edge后,可以进入www.bing.com并且获得了create的链接。回到部署界面用户设置后,页面说保存成功并且似乎重新刷新了一下,但是提问时显示你已达到每日最大发送消息次数,请[更换账号]或隔一天后重试
4 这个貌似不能切换平衡模式和精确模式,只有创造模式吗
5 https://bing.github1s.tk/ 这个貌似使用正常,是怎么弄得,教教我呗
没添加图片上传功能是因为EdgeGPT没有这个功能吗,如果需要的话,我这有个修改版的edgeGPT,实现了图片上传功能,大佬可以参考下,https://github.com/SoraRoseous/ChatSydney-react.git
本地部署对设备配置有何需求,网络+硬件
看到接口请求了sydney 没找到在哪里启动这个服务
我尝试通过node启动
git clone https://github.com/weaigc/bingo.git
npm i # 推荐使用 pnpm i
npm run build
npm run start
TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "x-forwarded-for"
at ClientRequest.setHeader (node:_http_outgoing:647:3)
at new ClientRequest (node:_http_client:284:14)
at request (node:https:357:10)
at initAsClient (/opt/bingo/node_modules/ws/lib/websocket.js:843:28)
at new WebSocket (/opt/bingo/node_modules/ws/lib/websocket.js:85:7)
at handler (/opt/bingo/.next/server/pages/api/sydney.js:553:16)
at /opt/bingo/node_modules/next/dist/server/api-utils/node.js:463:16
at /opt/bingo/node_modules/next/dist/server/lib/trace/tracer.js:117:36
at NoopContextManager.with (/opt/bingo/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)
at ContextAPI.with (/opt/bingo/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516) {
code: 'ERR_HTTP_INVALID_HEADER_VALUE'
或者通过docker方式启动。
但是发现打开页面后,当输入提示词时,页面显示 Unknown error
这个项目与NewBingGoGo-Web的实现原理有什么差异吗?
是重写前端,调用可代理访问官网的后端服务器来实现的吧?
目前NBGoGo的前端是放在github上,后端直接用的cf的workes,可以很好工作。
但由于作者没有精力跟进前端功能开发,项目基本停摆了。
这个项目原理基本相似,应该也可以直接在cf上部署后端,github上部署前端吧?
首先,感谢大佬的这个项目,让我们又重新用到了newbing,但是在试用的过程中发现,newbing的回答质量很差,动不动就无法找到相关信息,于是我对比了原生的newbing,部署在huggingface的newbing很少主动搜索互联网,仅是自己作答,这样得出的答案自然是很差
发送问题后会提示:你的 VPS 或代理可能被封禁,如有疑问,请前往 https://github.com/weaigc/bingo 咨询
刷新一下就又能用了,但是不稳定,随时可能会再次出现。
Firefox版本116,访问网站显示:
Application error: a client-side exception has occurred (see the browser console for more information).
打开控制台,显示
Uncaught (in promise) TypeError: ep is not a constructor
NextJS 3
[page-e1b655c34d5433dd.js:1:16341](https://hf4all-bingo.hf.space/_next/static/chunks/app/page-e1b655c34d5433dd.js)
TypeError: ep is not a constructor
NextJS 12
遇到问题请先尝试使用最新代码,如依然遇到问题,可以参考下面的方案解决,如依然不行,可以在 Issue 区寻找方法或提问。
A:
问题原因:当一个空间访问超过一定次数时,会触发临时封禁。
解决办法
A: 有可能网络原因,也有可能是正在部署,建议自己搭建。
A: 只有10次是因为你没有登录自己的账号,登录了就可以有30次,配置参考以下图片,注意不要漏掉任何一个配置(前提:你的账号正常可用)
A: GPT4 开关目前只在手机 App 上存在,经研究发现,GPT4 实际上就是原来的创造力模式,只不过改了一个名字:
GPT4 开 = 创造力模式
GPT4 关 = 平衡模式
A: 创建一个 .env 文件,设置 BING_HEADER 变量,或者直接设置 BING_HEADER 为环境变量。如何获取 BING_HEADER
部署的是最新的版本
建议做的和官网再像一点,UI方面要补充,总体来说做的还不错,继续加油
不过开发不易,如果作者没有时间折腾的话就算了,就是提个意见
我用vercel部署了该项目,ck是配置什么环境变量?
能不能出个arm64的docker版啊
Sending build context to Docker daemon 1.035MB
Step 1/15 : FROM node:18
---> 0f9df951673d
Step 2/15 : ARG DEBIAN_FRONTEND=noninteractive
---> Using cache
---> 7411aca1fe43
Step 3/15 : ENV BING_UA Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.0.0
---> Using cache
---> 155a8c94ed7a
Step 4/15 : ENV BING_COOKIE ""
---> Using cache
---> a1580d8c25e3
Step 5/15 : RUN useradd -o -u 1000 user
---> Using cache
---> b8a14fd537f9
Step 6/15 : USER user
---> Using cache
---> 551045026943
Step 7/15 : ENV HOME=/home/user PATH=/home/user/.local/bin:$PATH
---> Using cache
---> 32a649c21546
Step 8/15 : WORKDIR $HOME/app
---> Using cache
---> 2bfb8a85cca7
Step 9/15 : COPY --chown=user package*.json $HOME/app/
---> Using cache
---> 527b4b1a4db8
Step 10/15 : RUN npm install
---> Running in 6c5381a7689c
npm ERR! code ERR_INVALID_ARG_TYPE
npm ERR! The "path" argument must be of type string or an instance of Buffer or URL. Received null
npm ERR! Log files were not written due to an error writing to the directory: /home/user/.npm/_logs
npm ERR! You can rerun the command with --loglevel=verbose
to see the logs in your terminal
有没有大佬解答下怎么解决?
非常喜欢作者的这个项目,想加群交流,奈何二维码已过期。请作者再更个新的码吧,非常感谢。
用反向代理会提示未登录
如题,希望能够提供像 ChatGPT API 的快速调用方式。
滚动条一直卡在最底部,无法向上滑动
打开https://cn.bing.com/turing/captcha/challenge后显示“无效域。如果此问题仍然存在,请与站点管理员联系。”我应该怎么办?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.