diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-04-23 17:34:42 +0200 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-04-23 17:34:42 +0200 |
commit | 74c399d675676938f31faf18174a98ed7a1709da (patch) | |
tree | d0c06f94dd1c5be203fb02b95e22c51ff976be88 /g4f/Provider/Bing.py | |
parent | Add nodriver to docker (diff) | |
download | gpt4free-74c399d675676938f31faf18174a98ed7a1709da.tar gpt4free-74c399d675676938f31faf18174a98ed7a1709da.tar.gz gpt4free-74c399d675676938f31faf18174a98ed7a1709da.tar.bz2 gpt4free-74c399d675676938f31faf18174a98ed7a1709da.tar.lz gpt4free-74c399d675676938f31faf18174a98ed7a1709da.tar.xz gpt4free-74c399d675676938f31faf18174a98ed7a1709da.tar.zst gpt4free-74c399d675676938f31faf18174a98ed7a1709da.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/Bing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/Bing.py b/g4f/Provider/Bing.py index bfd74f8c..a9eb78e6 100644 --- a/g4f/Provider/Bing.py +++ b/g4f/Provider/Bing.py @@ -484,7 +484,7 @@ async def stream_generate( elif message.get('contentType') == "IMAGE": prompt = message.get('text') try: - image_client = BingCreateImages(cookies, proxy) + image_client = BingCreateImages(cookies, proxy, api_key) image_response = await image_client.create_async(prompt) except Exception as e: if debug.logging: |