Spaces:
Running
on
Zero
Running
on
Zero
vinesmsuic
commited on
Commit
•
4d32483
1
Parent(s):
b091d9e
renaming FLUX
Browse files
model/fetch_museum_results/__init__.py
CHANGED
@@ -2,7 +2,7 @@ from .imagen_museum import TASK_DICT, DOMAIN
|
|
2 |
from .imagen_museum import fetch_indexes, fetch_indexes_no_csv
|
3 |
import random
|
4 |
|
5 |
-
ARENA_TO_IG_MUSEUM = {"LCM(v1.5/XL)":"LCM", "PlayGroundV2.5": "PlayGroundV2_5"}
|
6 |
ARENA_TO_VG_MUSEUM = {"StableVideoDiffusion": "FastSVD"}
|
7 |
|
8 |
def draw2_from_imagen_museum(task, model_name1, model_name2):
|
|
|
2 |
from .imagen_museum import fetch_indexes, fetch_indexes_no_csv
|
3 |
import random
|
4 |
|
5 |
+
ARENA_TO_IG_MUSEUM = {"LCM(v1.5/XL)":"LCM", "PlayGroundV2.5": "PlayGroundV2_5", "FLUX.1-schnell": "FLUX1schnell", "FLUX.1-dev": "FLUX1dev"}
|
6 |
ARENA_TO_VG_MUSEUM = {"StableVideoDiffusion": "FastSVD"}
|
7 |
|
8 |
def draw2_from_imagen_museum(task, model_name1, model_name2):
|
model/model_registry.py
CHANGED
@@ -151,14 +151,14 @@ register_model_info(
|
|
151 |
)
|
152 |
|
153 |
register_model_info(
|
154 |
-
["
|
155 |
"FLUX.1-schnell",
|
156 |
"https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux",
|
157 |
"Flux is a series of text-to-image generation models based on diffusion transformers. Timestep-distilled version.",
|
158 |
)
|
159 |
|
160 |
register_model_info(
|
161 |
-
["
|
162 |
"FLUX.1-dev",
|
163 |
"https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux",
|
164 |
"Flux is a series of text-to-image generation models based on diffusion transformers. Guidance-distilled version.",
|
|
|
151 |
)
|
152 |
|
153 |
register_model_info(
|
154 |
+
["fal_FLUX1schnell_text2image"],
|
155 |
"FLUX.1-schnell",
|
156 |
"https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux",
|
157 |
"Flux is a series of text-to-image generation models based on diffusion transformers. Timestep-distilled version.",
|
158 |
)
|
159 |
|
160 |
register_model_info(
|
161 |
+
["fal_FLUX1dev_text2image"],
|
162 |
"FLUX.1-dev",
|
163 |
"https://huggingface.co/docs/diffusers/main/en/api/pipelines/flux",
|
164 |
"Flux is a series of text-to-image generation models based on diffusion transformers. Guidance-distilled version.",
|
model/models/__init__.py
CHANGED
@@ -10,7 +10,7 @@ from .videogenhub_models import load_videogenhub_model
|
|
10 |
IMAGE_GENERATION_MODELS = ['imagenhub_SDXLTurbo_generation','imagenhub_SDXL_generation', 'imagenhub_PixArtAlpha_generation', 'imagenhub_PixArtSigma_generation',
|
11 |
'imagenhub_OpenJourney_generation','imagenhub_SDXLLightning_generation', 'imagenhub_StableCascade_generation', 'imagenhub_HunyuanDiT_generation',
|
12 |
'playground_PlayGroundV2.5_generation', 'imagenhub_Kolors_generation', 'imagenhub_SD3_generation',
|
13 |
-
'fal_AuraFlow_text2image', '
|
14 |
IMAGE_EDITION_MODELS = ['imagenhub_CycleDiffusion_edition', 'imagenhub_Pix2PixZero_edition', 'imagenhub_Prompt2prompt_edition',
|
15 |
'imagenhub_SDEdit_edition', 'imagenhub_InstructPix2Pix_edition',
|
16 |
'imagenhub_MagicBrush_edition', 'imagenhub_PNP_edition',
|
|
|
10 |
IMAGE_GENERATION_MODELS = ['imagenhub_SDXLTurbo_generation','imagenhub_SDXL_generation', 'imagenhub_PixArtAlpha_generation', 'imagenhub_PixArtSigma_generation',
|
11 |
'imagenhub_OpenJourney_generation','imagenhub_SDXLLightning_generation', 'imagenhub_StableCascade_generation', 'imagenhub_HunyuanDiT_generation',
|
12 |
'playground_PlayGroundV2.5_generation', 'imagenhub_Kolors_generation', 'imagenhub_SD3_generation',
|
13 |
+
'fal_AuraFlow_text2image', 'fal_FLUX1schnell_text2image', 'fal_FLUX1dev_text2image'] # 'playground_PlayGroundV2_generation'
|
14 |
IMAGE_EDITION_MODELS = ['imagenhub_CycleDiffusion_edition', 'imagenhub_Pix2PixZero_edition', 'imagenhub_Prompt2prompt_edition',
|
15 |
'imagenhub_SDEdit_edition', 'imagenhub_InstructPix2Pix_edition',
|
16 |
'imagenhub_MagicBrush_edition', 'imagenhub_PNP_edition',
|
model/models/fal_api_models.py
CHANGED
@@ -7,7 +7,7 @@ import base64
|
|
7 |
|
8 |
FAL_MODEl_NAME_MAP = {"SDXL": "fast-sdxl", "SDXLTurbo": "fast-turbo-diffusion", "SDXLLightning": "fast-lightning-sdxl",
|
9 |
"LCM(v1.5/XL)": "fast-lcm-diffusion", "PixArtSigma": "pixart-sigma", "StableCascade": "stable-cascade",
|
10 |
-
"AuraFlow": "aura-flow", "
|
11 |
|
12 |
class FalModel():
|
13 |
def __init__(self, model_name, model_type):
|
|
|
7 |
|
8 |
FAL_MODEl_NAME_MAP = {"SDXL": "fast-sdxl", "SDXLTurbo": "fast-turbo-diffusion", "SDXLLightning": "fast-lightning-sdxl",
|
9 |
"LCM(v1.5/XL)": "fast-lcm-diffusion", "PixArtSigma": "pixart-sigma", "StableCascade": "stable-cascade",
|
10 |
+
"AuraFlow": "aura-flow", "FLUX1schnell": "flux/schnell", "FLUX1dev": "flux/dev"}
|
11 |
|
12 |
class FalModel():
|
13 |
def __init__(self, model_name, model_type):
|