summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/ReplicateImage.py
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-22 01:35:07 +0200
committerGitHub <noreply@github.com>2024-04-22 01:35:07 +0200
commit4b4d1f08b5c75c8c8932b5edfbb0d020f8e029a7 (patch)
tree6ed0cfc6cd53a3ab32565d6199a929ac1ea6ad80 /g4f/Provider/ReplicateImage.py
parentMerge pull request #1869 from hlohaus/carst (diff)
parentAdd vision models to readme (diff)
downloadgpt4free-0.3.0.4.tar
gpt4free-0.3.0.4.tar.gz
gpt4free-0.3.0.4.tar.bz2
gpt4free-0.3.0.4.tar.lz
gpt4free-0.3.0.4.tar.xz
gpt4free-0.3.0.4.tar.zst
gpt4free-0.3.0.4.zip
Diffstat (limited to 'g4f/Provider/ReplicateImage.py')
-rw-r--r--g4f/Provider/ReplicateImage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/g4f/Provider/ReplicateImage.py b/g4f/Provider/ReplicateImage.py
index 3e423c1a..cc3943d7 100644
--- a/g4f/Provider/ReplicateImage.py
+++ b/g4f/Provider/ReplicateImage.py
@@ -11,12 +11,14 @@ from ..errors import ResponseError
class ReplicateImage(AsyncGeneratorProvider, ProviderModelMixin):
url = "https://replicate.com"
+ parent = "Replicate"
working = True
default_model = 'stability-ai/sdxl'
default_versions = [
"39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b",
"2b017d9b67edd2ee1401238df49d75da53c523f36e363881e057f5dc3ed3c5b2"
]
+ image_models = [default_model]
@classmethod
async def create_async_generator(