artificialguybr commited on
Commit
b3e0151
1 Parent(s): 8d0320b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- os.chmod('ffmpeg', os.stat('ffmpeg').st_mode | os.stat.S_IEXEC)
 
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