Skip to content

Commit

Permalink
Update g4f/models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kqlio67 committed Dec 28, 2024
1 parent f929022 commit 2d8c2ca
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions g4f/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
HuggingChat,
HuggingFace,
HuggingFace,
HuggingSpace,
Liaobots,
Mhystical,
Airforce,
Expand All @@ -38,6 +37,11 @@
ReplicateHome,
RubiksAI,
TeachAnything,

## HuggingSpace ##
BlackForestLabsFlux1Dev,
BlackForestLabsFlux1Schnell,
VoodoohopFlux1Schnell,
)

@dataclass(unsafe_hash=True)
Expand Down Expand Up @@ -564,13 +568,13 @@ class ImageModel(Model):
flux_dev = ImageModel(
name = 'flux-dev',
base_provider = 'Flux AI',
best_provider = IterListProvider([HuggingSpace, HuggingChat, HuggingFace])
best_provider = IterListProvider([BlackForestLabsFlux1Dev, HuggingChat, HuggingFace])
)

flux_schnell = ImageModel(
name = 'flux-schnell',
base_provider = 'Flux AI',
best_provider = HuggingSpace
best_provider = IterListProvider([BlackForestLabsFlux1Schnell, VoodoohopFlux1Schnell])
)

flux_realism = ImageModel(
Expand Down

0 comments on commit 2d8c2ca

Please sign in to comment.