Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def make_video(images, audio): | |
| # Logic để tạo video từ hình ảnh và âm thanh | |
| video = "Link đến video đã tạo" # Thay bằng quá trình tạo video | |
| return video | |
| interface = gr.Interface( | |
| fn=make_video, | |
| inputs=["image", "audio"], | |
| outputs="text", | |
| title="Make Video API", | |
| description="API tạo video từ hình ảnh và âm thanh." | |
| ) | |
| interface.launch() | |