Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import subprocess
|
|
3 |
def outputProducer(stringG):
|
4 |
command1 = f'yt-dlp -o my_audio.wav {stringG} --extract-audio --audio-format wav'
|
5 |
subprocess.call(command1, shell=True)
|
6 |
-
command2 = "
|
7 |
retVal = subprocess.check_output(command2)
|
8 |
return retVal
|
9 |
demo = gr.Interface(fn=outputProducer,
|
|
|
3 |
def outputProducer(stringG):
|
4 |
command1 = f'yt-dlp -o my_audio.wav {stringG} --extract-audio --audio-format wav'
|
5 |
subprocess.call(command1, shell=True)
|
6 |
+
command2 = "ls"
|
7 |
retVal = subprocess.check_output(command2)
|
8 |
return retVal
|
9 |
demo = gr.Interface(fn=outputProducer,
|