Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,8 +10,9 @@ import gradio as gr
|
|
| 10 |
|
| 11 |
#Creating a Gradio App Menu
|
| 12 |
def transcript_extract():
|
|
|
|
| 13 |
#specifying the YouTube channel URL
|
| 14 |
-
|
| 15 |
|
| 16 |
#accessing the webpage
|
| 17 |
page = urllib.request.urlopen(channel_url)
|
|
|
|
| 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")
|
| 16 |
|
| 17 |
#accessing the webpage
|
| 18 |
page = urllib.request.urlopen(channel_url)
|