M0zzi commited on
Commit
5532e25
·
verified ·
1 Parent(s): e7e844f

Upload 2 files

Browse files

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()

gradio

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