Spaces:
Sleeping
Sleeping
Update thaTube.py
Browse files- thaTube.py +2 -2
thaTube.py
CHANGED
|
@@ -6,7 +6,7 @@ from pytube import Playlist, YouTube
|
|
| 6 |
from pydub import AudioSegment
|
| 7 |
|
| 8 |
import pygame
|
| 9 |
-
class
|
| 10 |
def __init__(self, playlist_url):
|
| 11 |
self.playlist_url = playlist_url
|
| 12 |
self.current_audio_file = None
|
|
@@ -70,7 +70,7 @@ class thaTube:
|
|
| 70 |
|
| 71 |
# Usage
|
| 72 |
#tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
|
| 73 |
-
class
|
| 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()
|
|
|
|
| 6 |
from pydub import AudioSegment
|
| 7 |
|
| 8 |
import pygame
|
| 9 |
+
class thaTube2:
|
| 10 |
def __init__(self, playlist_url):
|
| 11 |
self.playlist_url = playlist_url
|
| 12 |
self.current_audio_file = None
|
|
|
|
| 70 |
|
| 71 |
# Usage
|
| 72 |
#tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
|
| 73 |
+
class thaTube:
|
| 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()
|