File size: 505 Bytes
5532e25 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import gradio as gr
def shortify(video):
# Platzhalter-Funktion – hier kommt später dein KI-Video-Processing hin
return "✅ Dein Video wurde verarbeitet! (Demo-Ausgabe)"
app = gr.Interface(
fn=shortify,
inputs=gr.Video(label="Video hochladen oder URL einfügen"),
outputs="text",
title="Shorty – Video → Shorts",
description="Lade ein Video hoch und erhalte automatisch einen Short-Clip. (Demo-Version)"
)
if __name__ == "__main__":
app.launch()
|