Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -10,6 +10,10 @@ import json
|
|
| 10 |
from text_explanations import *
|
| 11 |
from utils import *
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
def get_audio_duration(file_path):
|
| 14 |
if file_path.lower().endswith('.mp3'):
|
| 15 |
audio = MP3(file_path)
|
|
|
|
| 10 |
from text_explanations import *
|
| 11 |
from utils import *
|
| 12 |
|
| 13 |
+
persistent_storage = Path('/data')
|
| 14 |
+
password_files = os.getenv("password_files")
|
| 15 |
+
|
| 16 |
+
|
| 17 |
def get_audio_duration(file_path):
|
| 18 |
if file_path.lower().endswith('.mp3'):
|
| 19 |
audio = MP3(file_path)
|