sandeshrajx commited on
Commit
f23911d
·
verified ·
1 Parent(s): 0f4eb55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ def run_inference(model_name, prompt_text):
52
  config_mapping = {
53
  "OpenSora-v1-16x256x256.pth": "configs/opensora/inference/16x256x256.py",
54
  "OpenSora-v1-HQ-16x256x256.pth": "configs/opensora/inference/16x256x256.py",
55
- "OpenSora-v1-HQ-16x512x512.pth": "configs/opensora/inference/64x512x512.py"
56
  }
57
 
58
  config_path = config_mapping[model_name]
@@ -106,7 +106,7 @@ def main():
106
  outputs=gr.Video(label="Output Video"),
107
  title="Open-Sora Inference",
108
  description="Run Open-Sora Inference with Custom Parameters",
109
- examples=[["OpenSora-v1-HQ-16x512x512.pth", "Extreme close-up of a 24-year-old woman’s eye blinking, standing in Marrakech during magic hour, cinematic film shot in 70mm, depth of field, vivid colors, cinematic"]
110
  # ["OpenSora-v1-16x256x256.pth", "a man is skiing down a snowy mountain. a drone shot from above. an avalanche is chasing him from behind."],
111
  # ["OpenSora-v1-16x256x256.pth", "Extreme close up of a 24 year old woman’s eye blinking, standing in Marrakech during magic hour, cinematic film shot in 70mm, depth of field, vivid colors, cinematic"],
112
  ],
 
52
  config_mapping = {
53
  "OpenSora-v1-16x256x256.pth": "configs/opensora/inference/16x256x256.py",
54
  "OpenSora-v1-HQ-16x256x256.pth": "configs/opensora/inference/16x256x256.py",
55
+ "OpenSora-v1-HQ-16x512x512.pth": "configs/opensora/inference/16x512x512.py"
56
  }
57
 
58
  config_path = config_mapping[model_name]
 
106
  outputs=gr.Video(label="Output Video"),
107
  title="Open-Sora Inference",
108
  description="Run Open-Sora Inference with Custom Parameters",
109
+ examples=[["OpenSora-v1-16x256x256.pth", "iron man riding a skateboard in new york city"]
110
  # ["OpenSora-v1-16x256x256.pth", "a man is skiing down a snowy mountain. a drone shot from above. an avalanche is chasing him from behind."],
111
  # ["OpenSora-v1-16x256x256.pth", "Extreme close up of a 24 year old woman’s eye blinking, standing in Marrakech during magic hour, cinematic film shot in 70mm, depth of field, vivid colors, cinematic"],
112
  ],