DongfuJiang commited on
Commit
1e7fa8d
1 Parent(s): 0b4b1e4
Files changed (1) hide show
  1. model/model_registry.py +0 -26
model/model_registry.py CHANGED
@@ -1,30 +1,6 @@
1
  from collections import namedtuple
2
  from typing import List
3
 
4
- IMAGE_GENERATION_MODELS = ['imagenhub_SDXLTurbo_generation','imagenhub_SDXL_generation', 'imagenhub_PixArtAlpha_generation', 'imagenhub_PixArtSigma_generation',
5
- 'imagenhub_OpenJourney_generation','imagenhub_SDXLLightning_generation', 'imagenhub_StableCascade_generation', 'imagenhub_HunyuanDiT_generation',
6
- 'playground_PlayGroundV2.5_generation', 'imagenhub_Kolors_generation', 'imagenhub_SD3_generation',
7
- 'fal_AuraFlow_text2image', 'fal_FLUX1schnell_text2image', 'fal_FLUX1dev_text2image'] # 'playground_PlayGroundV2_generation'
8
- IMAGE_EDITION_MODELS = ['imagenhub_CycleDiffusion_edition', 'imagenhub_Pix2PixZero_edition', 'imagenhub_Prompt2prompt_edition',
9
- 'imagenhub_SDEdit_edition', 'imagenhub_InstructPix2Pix_edition',
10
- 'imagenhub_MagicBrush_edition', 'imagenhub_PNP_edition',
11
- 'imagenhub_InfEdit_edition', 'imagenhub_CosXLEdit_edition', 'imagenhub_UltraEdit_edition']
12
- VIDEO_GENERATION_MODELS = ['fal_AnimateDiff_text2video',
13
- 'fal_AnimateDiffTurbo_text2video',
14
- #'videogenhub_LaVie_generation',
15
- 'videogenhub_VideoCrafter2_generation',
16
- #'videogenhub_ModelScope_generation',
17
- 'videogenhub_CogVideoX_generation', 'videogenhub_OpenSora12_generation',
18
- #'videogenhub_OpenSora_generation',
19
- #'videogenhub_T2VTurbo_generation',
20
- 'fal_T2VTurbo_text2video',
21
- 'fal_StableVideoDiffusion_text2video']
22
- MUSEUM_UNSUPPORTED_MODELS = ['videogenhub_OpenSoraPlan_generation']
23
- DESIRED_APPEAR_MODEL = ['videogenhub_T2VTurbo_generation','fal_StableVideoDiffusion_text2video']
24
-
25
- ALL_MODELS = IMAGE_GENERATION_MODELS + IMAGE_EDITION_MODELS + VIDEO_GENERATION_MODELS
26
-
27
-
28
  ModelInfo = namedtuple("ModelInfo", ["simple_name", "link", "description", "license", "organization", "type"])
29
  model_info = {}
30
 
@@ -454,5 +430,3 @@ register_model_info(
454
  "text2video_generation"
455
  )
456
 
457
-
458
- assert all([model in model_info for model in ALL_MODELS]), "Some models are not registered in model_info"
 
1
  from collections import namedtuple
2
  from typing import List
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  ModelInfo = namedtuple("ModelInfo", ["simple_name", "link", "description", "license", "organization", "type"])
5
  model_info = {}
6
 
 
430
  "text2video_generation"
431
  )
432