Spaces:
Runtime error
Runtime error
Campfireman
commited on
Commit
•
dac062c
1
Parent(s):
dc1735d
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import datetime
|
|
5 |
import subprocess
|
6 |
from moviepy.editor import *
|
7 |
import gradio as gr
|
8 |
-
from huggingface_hub import
|
9 |
import huggingface_hub as hh
|
10 |
from pytube import YouTube
|
11 |
|
@@ -57,7 +57,7 @@ def extract_audio():
|
|
57 |
print("Current audio address:" + f_addr)
|
58 |
|
59 |
|
60 |
-
#
|
61 |
notify = "Sucess. Download request will be pulled up soon. "
|
62 |
print(notify)
|
63 |
|
|
|
5 |
import subprocess
|
6 |
from moviepy.editor import *
|
7 |
import gradio as gr
|
8 |
+
from huggingface_hub import snapshot_download
|
9 |
import huggingface_hub as hh
|
10 |
from pytube import YouTube
|
11 |
|
|
|
57 |
print("Current audio address:" + f_addr)
|
58 |
|
59 |
|
60 |
+
# snapshot_download(repo_id="Campfireman/YouTubeAudioGrabNTake", allow_patterns="*.mp3")
|
61 |
notify = "Sucess. Download request will be pulled up soon. "
|
62 |
print(notify)
|
63 |
|