Create app.py
Browse files
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()
|