Spaces:
Running
on
Zero
Running
on
Zero
artificialguybr
commited on
Commit
•
b3e0151
1
Parent(s):
8d0320b
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 |
|