acheong08 / EdgeGPT

Reverse engineered API of Microsoft's Bing Chat AI
The Unlicense
8.07k stars 909 forks source link

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

Closed sharepointmike closed 1 year ago

sharepointmike commented 1 year ago

Is there an existing issue for this?

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

acheong08 commented 1 year ago

from EdgeGPT.EdgeUtils import ImageQuery

docs were updated

sharepointmike commented 1 year ago

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?

acheong08 commented 1 year ago

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

sharepointmike commented 1 year ago

Hi Antonio,

Is there some sample python code how to use it?

Thanks, MIke

From: Antonio Cheong @.> Sent: Tuesday, July 4, 2023 6:20 PM To: acheong08/EdgeGPT @.> Cc: sharepointmike @.>; Author @.> Subject: Re: [acheong08/EdgeGPT] [Bug]: cannot import name 'ImageQuery' from 'EdgeGPT' (Issue #592)

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

— Reply to this email directly, view it on GitHubhttps://github.com/acheong08/EdgeGPT/issues/592#issuecomment-1620506108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADXWL57K5NB66FTWULS2KITXOQ7EDANCNFSM6AAAAAAZ5URCOY. You are receiving this because you authored the thread.Message ID: @.**@.>>