Agora-X / Dalle3

An API for DALLE-3
https://discord.gg/qUtxnK2NMf
MIT License
180 stars 14 forks source link

I always get this error: "TypeError: Binary Location Must be a String" #30

Open kukucsi opened 3 months ago

kukucsi commented 3 months ago

I have written this code after the example in this repo:

cookie = "i pasted here the _U cookie"
dalle = Dalle(cookie)
dalle.create("apple")
urls = dalle.get_urls()
dalle.download(urls, "images/")

When I run this code, I get the following error:

TypeError: Binary Location Must be a String

The problem is with the dalle = Dalle(cookie) line.

The fix for this is probably easy, but I just can't figure it out.

Be1Happy commented 1 month ago

Have the same problem,still unsolved.