summaryrefslogtreecommitdiffstats
path: root/g4f/client/__init__.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-11-18 05:13:15 +0100
committerGitHub <noreply@github.com>2024-11-18 05:13:15 +0100
commit6cccd6d9ac106b7df80fd263e97a921974f0504a (patch)
treeb9e8bf7c11c1a4f0ff517faf54f471dcbe2d8f8f /g4f/client/__init__.py
parentDelete .github/workflows/auto-pr-description.yml (diff)
parentAdd full nodriver support to OpenaiChat (diff)
downloadgpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar
gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.gz
gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.bz2
gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.lz
gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.xz
gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.tar.zst
gpt4free-6cccd6d9ac106b7df80fd263e97a921974f0504a.zip
Diffstat (limited to 'g4f/client/__init__.py')
-rw-r--r--g4f/client/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/g4f/client/__init__.py b/g4f/client/__init__.py
index 3adb18ef..1f3cdab1 100644
--- a/g4f/client/__init__.py
+++ b/g4f/client/__init__.py
@@ -338,8 +338,7 @@ class Images:
def create_variation(self, image: Union[str, bytes], model: str = None, provider: ProviderType = None, response_format: str = "url", **kwargs) -> ImagesResponse:
return asyncio.run(self.async_create_variation(
- image, model, provider, response_format
- **kwargs
+ image, model, provider, response_format, **kwargs
))
async def async_create_variation(self, image: Union[str, bytes], model: str = None, provider: ProviderType = None, response_format: str = "url", proxy: str = None, **kwargs) -> ImagesResponse: