Spaces:
Sleeping
Sleeping
File size: 428 Bytes
b00f3d3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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()
|