Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
|
7 |
|
8 |
def extract_audio(video_file):
|
9 |
-
output_audio_file = "
|
10 |
os.system(f"ffmpeg -i {video_file} -q:a 0 -map a {output_audio_file}")
|
11 |
return output_audio_file
|
12 |
|
|
|
6 |
client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
|
7 |
|
8 |
def extract_audio(video_file):
|
9 |
+
output_audio_file = "demo1.mp3"
|
10 |
os.system(f"ffmpeg -i {video_file} -q:a 0 -map a {output_audio_file}")
|
11 |
return output_audio_file
|
12 |
|