Ahsen Khaliq
commited on
Commit
·
b739466
1
Parent(s):
2534fca
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
import os
|
2 |
-
os.system('gdown https://drive.google.com/uc?id=1hv0xwdbdf-Ym06Hpjy6wKyIklNmKmB99')
|
3 |
import gradio as gr
|
4 |
|
5 |
|
6 |
def greet(vid):
|
7 |
-
os.system("ffmpeg -i "+vid+" -filter:v scale=600:-1 -c:a copy output.mp4")
|
8 |
os.system("python demos/general.py --weights kapao_s_coco.pt --start 0 --end 2 --gif --fps --vid output.mp4")
|
9 |
return 'flash_mob_inference_kapao_s_coco.gif'
|
10 |
|
|
|
1 |
import os
|
2 |
+
os.system('gdown https://drive.google.com/uc?id=1hv0xwdbdf-Ym06Hpjy6wKyIklNmKmB99')
|
3 |
import gradio as gr
|
4 |
|
5 |
|
6 |
def greet(vid):
|
|
|
7 |
os.system("python demos/general.py --weights kapao_s_coco.pt --start 0 --end 2 --gif --fps --vid output.mp4")
|
8 |
return 'flash_mob_inference_kapao_s_coco.gif'
|
9 |
|