EModel

wank3rminimax-h3
AgentsRunning

History399 Bytes
1import gradio as gr
2
3
4def infer(image, prompt, steps=6):
5 frames = pipe(image=image, prompt=prompt, num_inference_steps=steps).frames[0]
6 return export_to_video(frames, "out.mp4", fps=16)
7
8demo = gr.Interface(infer, [gr.Image(label="Input image"), gr.Textbox(label="Prompt")], gr.Video(label="Generated video"), title="minimax h3 turbo + lora's")
9
10if __name__ == "__main__":
11 demo.launch()
Built with EModelSettings