shorty / app.py
M0zzi's picture
Rename app.py.txt to app.py
2797c56 verified
raw
history blame contribute delete
505 Bytes
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()