VideoCrafter / demo_test.py
imjunaidafzal's picture
Duplicate from VideoCrafter/VideoCrafter
153e804
raw
history blame contribute delete
491 Bytes
class Text2Video():
def __init__(self, result_dir='./tmp/') -> None:
pass
def get_prompt(self, input_text, steps=50, model_index=0, eta=1.0, cfg_scale=15.0, lora_scale=1.0):
return '01.mp4'
class VideoControl:
def __init__(self, result_dir='./tmp/') -> None:
pass
def get_video(self, input_video, input_prompt, frame_stride=0, vc_steps=50, vc_cfg_scale=15.0, vc_eta=1.0, video_frames=16, resolution=256):
return 'su','01.mp4'