K00B404 commited on
Commit
9b4b09e
·
verified ·
1 Parent(s): f1ace6e

Update thaTube.py

Browse files
Files changed (1) hide show
  1. thaTube.py +3 -1
thaTube.py CHANGED
@@ -71,7 +71,9 @@ class thaTube:
71
  # Usage
72
  #tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
73
  class thaTube2:
74
- def __init__(self, tubelist='PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz'):
 
 
75
  self.playlist_url = tubelist
76
  self.current_audio_file = None
77
  self.current_audio = None
 
71
  # Usage
72
  #tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
73
  class thaTube2:
74
+ def __init__(self, tubelist='https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz'):
75
+ # Autoplay as soon as the object is created
76
+ self.streamlit_ui()
77
  self.playlist_url = tubelist
78
  self.current_audio_file = None
79
  self.current_audio = None