eternalBlissard commited on
Commit
eeedb7e
·
verified ·
1 Parent(s): 364a160

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -11,6 +11,14 @@ from openai import OpenAI
11
  import os
12
  import re
13
  from math import floor
 
 
 
 
 
 
 
 
14
 
15
 
16
  ACCESS_TOKEN = os.getenv("HF_TOKEN")
 
11
  import os
12
  import re
13
  from math import floor
14
+ import subprocess
15
+
16
+ # Command to find the location of ffmpeg.exe
17
+ try:
18
+ ffmpeg_location = subprocess.check_output(["where", "ffmpeg"], shell=True, text=True)
19
+ print(f"Location of ffmpeg.exe: {ffmpeg_location.strip()}")
20
+ except subprocess.CalledProcessError:
21
+ print("ffmpeg.exe not found in the system PATH.")
22
 
23
 
24
  ACCESS_TOKEN = os.getenv("HF_TOKEN")