Lookimi commited on
Commit
4dd6112
1 Parent(s): 6f6422d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ import time
9
  import gradio as gr
10
 
11
  #Creating a Gradio App Menu
12
- def transcript_extract():
13
 
14
  #specifying the YouTube channel URL
15
  channel_url = gr.inputs.Textbox(label="Channel URL")
@@ -21,7 +21,7 @@ def transcript_extract():
21
  data = page.read().decode("utf-8")
22
 
23
  #creating a directory to save the transcripts
24
- os.makedirs('Transcripts',exist_ok=True)
25
 
26
  #finding the transcripts
27
  transcript_links = re.findall(r'(\/watch\?v=[A-Za-z0-9_.-]*)', str(data))
 
9
  import gradio as gr
10
 
11
  #Creating a Gradio App Menu
12
+ #def transcript_extract():
13
 
14
  #specifying the YouTube channel URL
15
  channel_url = gr.inputs.Textbox(label="Channel URL")
 
21
  data = page.read().decode("utf-8")
22
 
23
  #creating a directory to save the transcripts
24
+ # os.makedirs('Transcripts',exist_ok=True)
25
 
26
  #finding the transcripts
27
  transcript_links = re.findall(r'(\/watch\?v=[A-Za-z0-9_.-]*)', str(data))