diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-22 12:48:59 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-22 12:48:59 +0100 |
commit | 2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760 (patch) | |
tree | f2c1422018ec176677601ee6b8d02b29746c03fb /g4f/Provider/Bing.py | |
parent | Merge pull request #1729 from hlohaus/giga (diff) | |
download | gpt4free-2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760.tar gpt4free-2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760.tar.gz gpt4free-2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760.tar.bz2 gpt4free-2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760.tar.lz gpt4free-2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760.tar.xz gpt4free-2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760.tar.zst gpt4free-2ee724f93e36ecdf8ddfbbbb69f26ce7f7ba3760.zip |
Diffstat (limited to 'g4f/Provider/Bing.py')
-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 a1d14d87..f8b06dd1 100644 --- a/g4f/Provider/Bing.py +++ b/g4f/Provider/Bing.py @@ -414,7 +414,7 @@ async def stream_generate( image_request = await upload_image( session, image, - "Balanced" if Tones.copilot == "Copilot" else tone, + "Balanced" if tone == Tones.copilot else tone, headers ) if image else None async with session.ws_connect( |