From 335c971f6a9cd071d18f9fffeb76df4eda8876d5 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Fri, 13 Dec 2024 22:20:58 +0100 Subject: Add multiple images support (#2478) * Add multiple images support * Add multiple images support in gui * Support multiple images in legacy client and in the api Fix some model names in provider model list * Fix unittests * Add vision and providers docs --- g4f/Provider/Flux.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'g4f/Provider/Flux.py') diff --git a/g4f/Provider/Flux.py b/g4f/Provider/Flux.py index b211ecef..d3949153 100644 --- a/g4f/Provider/Flux.py +++ b/g4f/Provider/Flux.py @@ -8,14 +8,13 @@ from ..image import ImageResponse, ImagePreview from .base_provider import AsyncGeneratorProvider, ProviderModelMixin class Flux(AsyncGeneratorProvider, ProviderModelMixin): - label = "HuggingSpace (black-forest-labs-flux-1-dev)" + label = "Flux (HuggingSpace)" url = "https://black-forest-labs-flux-1-dev.hf.space" api_endpoint = "/gradio_api/call/infer" working = True default_model = 'flux-dev' models = [default_model] image_models = [default_model] - model_aliases = {"flux-dev": "flux-1-dev"} @classmethod async def create_async_generator( -- cgit v1.2.3