EdgeGPT icon indicating copy to clipboard operation
EdgeGPT copied to clipboard

ImageGen error

Open youminxue opened this issue 1 year ago • 14 comments

image

youminxue avatar Mar 24 '23 02:03 youminxue

image

youminxue avatar Mar 24 '23 02:03 youminxue

1

acheong08 avatar Mar 24 '23 02:03 acheong08

Can you try to debug and print the response text? (Requires git cloning the repo and changing a bit of code). I can't replicate it. Make sure you go on https://www.bing.com/images/create and check if it works. If it does, export new cookies from the page

acheong08 avatar Mar 24 '23 02:03 acheong08

image image image image 网站可以请求,cookie也是重新获取的打印了日志,status_code是200,response3.text返回第三幅图中的网页内容

youminxue avatar Mar 24 '23 03:03 youminxue

我遇到了相同的问题,不过访问 https://www.bing.com/images/create 重新导出一下cookie就好了

Do1e avatar Mar 24 '23 03:03 Do1e

@Do1e 访问https://www.bing.com/images/create 不会更新更新cookie中的_U数据吧?

youminxue avatar Mar 24 '23 04:03 youminxue

那可能需要退出之后重新登录一下吧。

Do1e avatar Mar 24 '23 04:03 Do1e

额,尝试重新登录后还不不行,使用最新的0.1.7版本也不行

youminxue avatar Mar 24 '23 06:03 youminxue

Blocked in China?

acheong08 avatar Mar 24 '23 06:03 acheong08

不过在国外服务器上也试过,同样的问题,edgeGpt的聊天功能正常

youminxue avatar Mar 24 '23 06:03 youminxue

我也是同样的问题,不是中国的电脑上运行,也这样: Traceback (most recent call last): File "D:\image\t.py", line 19, in image_generator.get_images(prompt), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\site-packages\ImageGen.py", line 47, in get_images raise Exception("Redirect failed")

tianlichunhong avatar Mar 30 '23 14:03 tianlichunhong

Also getting same issue now. Will need to reverse again maybe

acheong08 avatar Mar 31 '23 03:03 acheong08

Try new version

acheong08 avatar Mar 31 '23 03:03 acheong08

It has stopped working. Changing the IP and cookies does not solve the problem.

doevent avatar Apr 01 '23 13:04 doevent

This issue is stale because it has been open for 2 days with no activity.

github-actions[bot] avatar Apr 25 '23 00:04 github-actions[bot]

Maybe it's because the number of drawing times has been used up! Please open the URL: https://www.bing.com/images/create. You can see the remaining times.

shl-hsn avatar Apr 26 '23 07:04 shl-hsn

This issue is stale because it has been open for 2 days with no activity.

github-actions[bot] avatar May 01 '23 00:05 github-actions[bot]

This issue was closed because it has been inactive for 3 days since being marked as stale.

github-actions[bot] avatar May 05 '23 00:05 github-actions[bot]