Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,8 @@ api = HfApi(token=HF_TOKEN)
|
|
| 22 |
|
| 23 |
# Extract and set permissions for ffmpeg
|
| 24 |
ZipFile("ffmpeg.zip").extractall()
|
| 25 |
-
|
|
|
|
| 26 |
|
| 27 |
print("Starting the program...")
|
| 28 |
|
|
|
|
| 22 |
|
| 23 |
# Extract and set permissions for ffmpeg
|
| 24 |
ZipFile("ffmpeg.zip").extractall()
|
| 25 |
+
st = os.stat('ffmpeg')
|
| 26 |
+
os.chmod('ffmpeg', st.st_mode | stat.S_IEXEC)
|
| 27 |
|
| 28 |
print("Starting the program...")
|
| 29 |
|