Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import subprocess
|
| 2 |
-
import
|
| 3 |
import os
|
| 4 |
import tempfile
|
| 5 |
import requests
|
|
@@ -62,7 +62,7 @@ VIDEO_CONFIG = {
|
|
| 62 |
# ========================================
|
| 63 |
|
| 64 |
# Add static ffmpeg to PATH
|
| 65 |
-
|
| 66 |
|
| 67 |
|
| 68 |
def setup_custom_fonts_hf(temp_dir):
|
|
|
|
| 1 |
import subprocess
|
| 2 |
+
import ffmpeg
|
| 3 |
import os
|
| 4 |
import tempfile
|
| 5 |
import requests
|
|
|
|
| 62 |
# ========================================
|
| 63 |
|
| 64 |
# Add static ffmpeg to PATH
|
| 65 |
+
ffmpeg.add_paths()
|
| 66 |
|
| 67 |
|
| 68 |
def setup_custom_fonts_hf(temp_dir):
|