Spaces:
Sleeping
Sleeping
Update thaTube.py
Browse files- thaTube.py +1 -1
thaTube.py
CHANGED
@@ -145,7 +145,7 @@ class thaTube2:
|
|
145 |
self.current_audio_file = mp3_file.name
|
146 |
return self.current_audio_file
|
147 |
|
148 |
-
|
149 |
"""Play the extracted audio using Streamlit's audio player."""
|
150 |
if not self.current_audio_file:
|
151 |
raise ValueError("No audio file to play. Please extract audio first.")
|
|
|
145 |
self.current_audio_file = mp3_file.name
|
146 |
return self.current_audio_file
|
147 |
|
148 |
+
def play_audio(self):
|
149 |
"""Play the extracted audio using Streamlit's audio player."""
|
150 |
if not self.current_audio_file:
|
151 |
raise ValueError("No audio file to play. Please extract audio first.")
|