Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -302,5 +302,11 @@ with gr.Blocks() as demo:
|
|
| 302 |
enable_component, outputs=[delete_channel_btn]
|
| 303 |
)
|
| 304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 305 |
if __name__ == "__main__":
|
|
|
|
| 306 |
demo.launch()
|
|
|
|
| 302 |
enable_component, outputs=[delete_channel_btn]
|
| 303 |
)
|
| 304 |
|
| 305 |
+
def init():
|
| 306 |
+
channels = "https://www.youtube.com/@onedayonepasuram6126,https://www.youtube.com/@srisookthi,https://www.youtube.com/@learn-aksharam"
|
| 307 |
+
for resp in index_channels(channels):
|
| 308 |
+
print(resp)
|
| 309 |
+
|
| 310 |
if __name__ == "__main__":
|
| 311 |
+
init()
|
| 312 |
demo.launch()
|