Spaces:
Sleeping
Sleeping
File size: 330 Bytes
07c6a04 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
from videosys import CogVideoConfig, VideoSysEngine
def run_base():
config = CogVideoConfig(world_size=1)
engine = VideoSysEngine(config)
prompt = "Sunset over the sea."
video = engine.generate(prompt).video[0]
engine.save_video(video, f"./outputs/{prompt}.mp4")
if __name__ == "__main__":
run_base()
|