From 831c722a9fd9907bd9066c1f3c3feb7704f93b09 Mon Sep 17 00:00:00 2001 From: kqlio67 <> Date: Sun, 12 Jan 2025 13:25:41 +0200 Subject: Update providers, documentation improvements and bug fixes --- g4f/Provider/hf_space/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'g4f/Provider/hf_space/__init__.py') diff --git a/g4f/Provider/hf_space/__init__.py b/g4f/Provider/hf_space/__init__.py index 5ab7ad22..64be9d34 100644 --- a/g4f/Provider/hf_space/__init__.py +++ b/g4f/Provider/hf_space/__init__.py @@ -9,14 +9,17 @@ from .BlackForestLabsFlux1Schnell import BlackForestLabsFlux1Schnell from .VoodoohopFlux1Schnell import VoodoohopFlux1Schnell from .StableDiffusion35Large import StableDiffusion35Large from .Qwen_QVQ_72B import Qwen_QVQ_72B +from .Qwen_Qwen_2_72B_Instruct import Qwen_Qwen_2_72B_Instruct class HuggingSpace(AsyncGeneratorProvider, ProviderModelMixin): url = "https://huggingface.co/spaces" parent = "HuggingFace" + working = True + default_model = BlackForestLabsFlux1Dev.default_model default_vision_model = Qwen_QVQ_72B.default_model - providers = [BlackForestLabsFlux1Dev, BlackForestLabsFlux1Schnell, VoodoohopFlux1Schnell, StableDiffusion35Large, Qwen_QVQ_72B] + providers = [BlackForestLabsFlux1Dev, BlackForestLabsFlux1Schnell, VoodoohopFlux1Schnell, StableDiffusion35Large, Qwen_QVQ_72B, Qwen_Qwen_2_72B_Instruct] @classmethod def get_parameters(cls, **kwargs) -> dict: @@ -63,4 +66,4 @@ class HuggingSpace(AsyncGeneratorProvider, ProviderModelMixin): raise e error = e if not is_started and error is not None: - raise error \ No newline at end of file + raise error -- cgit v1.2.3