Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
e1b7db1
1
Parent(s):
f848c71
test upload
Browse files- model/model_registry.py +9 -1
- model/models/__init__.py +1 -1
- requirements.txt +10 -1
model/model_registry.py
CHANGED
|
@@ -220,6 +220,13 @@ register_model_info(
|
|
| 220 |
# "https://arxiv.org/abs/2205.15868",
|
| 221 |
# "Text-to-Video Generation via Transformers",
|
| 222 |
#)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
|
| 224 |
|
| 225 |
models = ['imagenhub_LCM_generation','imagenhub_SDXLTurbo_generation','imagenhub_SDXL_generation',
|
|
@@ -228,4 +235,5 @@ models = ['imagenhub_LCM_generation','imagenhub_SDXLTurbo_generation','imagenhub
|
|
| 228 |
'imagenhub_CycleDiffusion_edition', 'imagenhub_Pix2PixZero_edition', 'imagenhub_Prompt2prompt_edition',
|
| 229 |
'imagenhub_SDEdit_edition', 'imagenhub_InstructPix2Pix_edition', 'imagenhub_MagicBrush_edition', 'imagenhub_PNP_edition', 'imagenhub_InfEdit_edition', 'imagenhub_CosXLEdit_edition',
|
| 230 |
"fal_AnimateDiffTurbo_text2video", "fal_AnimateDiff_text2video",
|
| 231 |
-
"videogenhub_LaVie_generation", "videogenhub_VideoCrafter2_generation", "videogenhub_ModelScope_generation"
|
|
|
|
|
|
| 220 |
# "https://arxiv.org/abs/2205.15868",
|
| 221 |
# "Text-to-Video Generation via Transformers",
|
| 222 |
#)
|
| 223 |
+
|
| 224 |
+
register_model_info(
|
| 225 |
+
["videogenhub_OpenSora_generation"],
|
| 226 |
+
"OpenSora",
|
| 227 |
+
"videogenhub_OpenSora_generation",
|
| 228 |
+
"A community-driven opensource implementation of Sora.",
|
| 229 |
+
)
|
| 230 |
|
| 231 |
|
| 232 |
models = ['imagenhub_LCM_generation','imagenhub_SDXLTurbo_generation','imagenhub_SDXL_generation',
|
|
|
|
| 235 |
'imagenhub_CycleDiffusion_edition', 'imagenhub_Pix2PixZero_edition', 'imagenhub_Prompt2prompt_edition',
|
| 236 |
'imagenhub_SDEdit_edition', 'imagenhub_InstructPix2Pix_edition', 'imagenhub_MagicBrush_edition', 'imagenhub_PNP_edition', 'imagenhub_InfEdit_edition', 'imagenhub_CosXLEdit_edition',
|
| 237 |
"fal_AnimateDiffTurbo_text2video", "fal_AnimateDiff_text2video",
|
| 238 |
+
"videogenhub_LaVie_generation", "videogenhub_VideoCrafter2_generation", "videogenhub_ModelScope_generation",
|
| 239 |
+
"videogenhub_OpenSora_generation"]
|
model/models/__init__.py
CHANGED
|
@@ -13,7 +13,7 @@ IMAGE_EDITION_MODELS = ['imagenhub_CycleDiffusion_edition', 'imagenhub_Pix2PixZe
|
|
| 13 |
VIDEO_GENERATION_MODELS = ['fal_AnimateDiff_text2video',
|
| 14 |
'fal_AnimateDiffTurbo_text2video',
|
| 15 |
'videogenhub_LaVie_generation', 'videogenhub_VideoCrafter2_generation',
|
| 16 |
-
'videogenhub_ModelScope_generation']
|
| 17 |
|
| 18 |
|
| 19 |
def load_pipeline(model_name):
|
|
|
|
| 13 |
VIDEO_GENERATION_MODELS = ['fal_AnimateDiff_text2video',
|
| 14 |
'fal_AnimateDiffTurbo_text2video',
|
| 15 |
'videogenhub_LaVie_generation', 'videogenhub_VideoCrafter2_generation',
|
| 16 |
+
'videogenhub_ModelScope_generation', 'videogenhub_OpenSora_generation']
|
| 17 |
|
| 18 |
|
| 19 |
def load_pipeline(model_name):
|
requirements.txt
CHANGED
|
@@ -59,4 +59,13 @@ protobuf==3.20.*
|
|
| 59 |
rotary_embedding_torch
|
| 60 |
av
|
| 61 |
natsort
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
rotary_embedding_torch
|
| 60 |
av
|
| 61 |
natsort
|
| 62 |
+
#for opensora
|
| 63 |
+
colossalai
|
| 64 |
+
mmengine
|
| 65 |
+
pre-commit
|
| 66 |
+
pyarrow
|
| 67 |
+
pyav
|
| 68 |
+
tensorboard
|
| 69 |
+
timm
|
| 70 |
+
wandb
|
| 71 |
+
pandarallel
|