Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ liveinfer = LiveInfer()
|
|
| 14 |
def ffmpeg_once(src_path: str, dst_path: str, *, fps: int = None, resolution: int = None, pad: str = '#000000', mode='bicubic'):
|
| 15 |
os.makedirs(os.path.dirname(dst_path), exist_ok=True)
|
| 16 |
command = [
|
| 17 |
-
'ffmpeg',
|
| 18 |
'-y',
|
| 19 |
'-sws_flags', mode,
|
| 20 |
'-i', src_path,
|
|
|
|
| 14 |
def ffmpeg_once(src_path: str, dst_path: str, *, fps: int = None, resolution: int = None, pad: str = '#000000', mode='bicubic'):
|
| 15 |
os.makedirs(os.path.dirname(dst_path), exist_ok=True)
|
| 16 |
command = [
|
| 17 |
+
'./ffmpeg/ffmpeg',
|
| 18 |
'-y',
|
| 19 |
'-sws_flags', mode,
|
| 20 |
'-i', src_path,
|