fdx-sat / app.py
fugam's picture
Update app.py
f970a19 verified
Raw
History Blame Contribute Delete
488 Bytes
import gradio as gr
# A function that converts text or image to video.
def convert_to_video(input_text_or_image):
# # Here you can make your own logic using the model.
result = f"Processing: {input_text_or_image}"
return result
# Choose the appropriate tools (text or image)
interface = gr.Interface(
fn=convert_to_video,
inputs=["text", "image"], # # Enter text or image
outputs="text" # # Résultat texte
)
# Run the interface
interface.launch()