Spaces:
Build error
Build error
Update thaTube.py
Browse files- thaTube.py +2 -2
thaTube.py
CHANGED
|
@@ -9,7 +9,7 @@ import tempfile
|
|
| 9 |
import streamlit as st
|
| 10 |
from pytube import Playlist, YouTube
|
| 11 |
from pydub import AudioSegment
|
| 12 |
-
|
| 13 |
class thaTube:
|
| 14 |
def __init__(self, playlist_url):
|
| 15 |
self.playlist_url = playlist_url
|
|
@@ -104,7 +104,7 @@ class thaTube:
|
|
| 104 |
# Usage
|
| 105 |
#tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
|
| 106 |
class thaTube2:
|
| 107 |
-
def __init__(self, tubelist=
|
| 108 |
# Autoplay as soon as the object is created
|
| 109 |
self.streamlit_ui()
|
| 110 |
self.playlist_url = tubelist
|
|
|
|
| 9 |
import streamlit as st
|
| 10 |
from pytube import Playlist, YouTube
|
| 11 |
from pydub import AudioSegment
|
| 12 |
+
playlist_url=https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz'
|
| 13 |
class thaTube:
|
| 14 |
def __init__(self, playlist_url):
|
| 15 |
self.playlist_url = playlist_url
|
|
|
|
| 104 |
# Usage
|
| 105 |
#tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
|
| 106 |
class thaTube2:
|
| 107 |
+
def __init__(self, tubelist=):
|
| 108 |
# Autoplay as soon as the object is created
|
| 109 |
self.streamlit_ui()
|
| 110 |
self.playlist_url = tubelist
|