Spaces:
Sleeping
Sleeping
Update thaTube.py
Browse files- thaTube.py +2 -2
thaTube.py
CHANGED
@@ -10,7 +10,7 @@ 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
|
14 |
def __init__(self, playlist_url):
|
15 |
self.playlist_url = playlist_url
|
16 |
self.current_audio_file = None
|
@@ -103,7 +103,7 @@ class thaTube:
|
|
103 |
|
104 |
# Usage
|
105 |
#tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
|
106 |
-
class
|
107 |
def __init__(self, tubelist):
|
108 |
# Autoplay as soon as the object is created
|
109 |
self.streamlit_ui()
|
|
|
10 |
from pytube import Playlist, YouTube
|
11 |
from pydub import AudioSegment
|
12 |
playlist_url='https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz'
|
13 |
+
class thaTube2:
|
14 |
def __init__(self, playlist_url):
|
15 |
self.playlist_url = playlist_url
|
16 |
self.current_audio_file = None
|
|
|
103 |
|
104 |
# Usage
|
105 |
#tuber = thaTube('https://www.youtube.com/playlist?list=PLUwVJKJgdARRdQ3Y3NFB9HMTjXTa5INcz')
|
106 |
+
class thaTube:
|
107 |
def __init__(self, tubelist):
|
108 |
# Autoplay as soon as the object is created
|
109 |
self.streamlit_ui()
|