Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import subprocess
|
| 3 |
import os
|
| 4 |
def outputProducer(stringG):
|
| 5 |
-
command1 = f'yt-dlp {stringG} --netrc --extract-audio --audio-format wav'
|
| 6 |
subprocess.call(command1, shell=True)
|
| 7 |
command2 = "ls"
|
| 8 |
retVal = subprocess.check_output(command2)
|
|
|
|
| 2 |
import subprocess
|
| 3 |
import os
|
| 4 |
def outputProducer(stringG):
|
| 5 |
+
command1 = f'yt-dlp {stringG} --netrc --netrc-location ./.netrc--extract-audio --audio-format wav'
|
| 6 |
subprocess.call(command1, shell=True)
|
| 7 |
command2 = "ls"
|
| 8 |
retVal = subprocess.check_output(command2)
|