acheong08 / EdgeGPT

Reverse engineered API of Microsoft's Bing Chat AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: cannot import name 'ImageQuery' from 'EdgeGPT'

sharepointmike opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Just following the example:

from EdgeGPT import ImageQuery
q=ImageQuery("Meerkats at a garden party in Devon")

Steps to reproduce the problem

Just copied the lines of code above

What should have happened?

Import should have worked?

Version where the problem happens

latest

What Python version are you running this with?

latest

What is your operating system ?

Windows

Command Line Arguments

none

Console logs

nothing

Additional information

No response

from EdgeGPT.EdgeUtils import ImageQuery

docs were updated

Thanks,
If I use that I get "IndexError: list index out of range" on the next line: q=ImageQuery("Meerkats at a garden party in Devon")
In the comment it tells me it's a cookie problem. How doe I need to change/edit the code to get it working?

EdgeUtils is unmaintained. Use https://github.com/acheong08/BingImageCreator/ instead