Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -315,7 +315,7 @@ def create_interface():
|
|
315 |
)
|
316 |
|
317 |
# Event handlers
|
318 |
-
def handle_download(url):
|
319 |
if not url or not url.strip():
|
320 |
return "Please enter a YouTube URL", gr.File(visible=False), gr.Button(visible=False), None
|
321 |
|
|
|
315 |
)
|
316 |
|
317 |
# Event handlers
|
318 |
+
def handle_download(url,cookies_path):
|
319 |
if not url or not url.strip():
|
320 |
return "Please enter a YouTube URL", gr.File(visible=False), gr.Button(visible=False), None
|
321 |
|