Spaces:
Build error
Build error
model = initialize_model("ckpts")
Browse files44 unmodified lines45464748495071 unmodified lines12212312412512612712812944 unmodified linesprint('Model initialized: ' + model_path)return hunyuan_video_samplerdef generate_video(prompt,resolution,71 unmodified linesreturn video_pathdef create_demo(model_path):model = initialize_model(model_path)with gr.Blocks() as demo:if torch.cuda.device_count() == 0:with gr.Row():44 unmodified lines454647484950515271 unmodified lines12412512612712812944 unmodified linesprint('Model initialized: ' + model_path)return hunyuan_video_samplermodel = initialize_model("ckpts")def generate_video(prompt,resolution,71 unmodified linesreturn video_pathdef create_demo(model_path):with gr.Blocks() as demo:if torch.cuda.device_count() == 0:with gr.Row():
app.py+2-2