akhaliq HF staff commited on
Commit
fb15799
1 Parent(s): b29f94e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import gradio as gr
3
+
4
+ os.system("git clone https://github.com/rvizzz/rotate.git")
5
+ os.chdir("rotate")
6
+
7
+ def run(image):
8
+ os.system("python rotate.py"+image+"out.mp4")
9
+ return "out.mp4"
10
+
11
+ gr.Interface(run,"image","video").launch()