Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ class TTSDatasetCollector:
|
|
158 |
return f"<div style='{font_css}'>{text}</div>"
|
159 |
|
160 |
|
161 |
-
def generate_filenames(self, dataset_name: str, speaker_id: str) -> Tuple[str, str]:
|
162 |
"""Generate unique filenames for audio and text files"""
|
163 |
timestamp = datetime.now().strftime("%Y%m%d%H%M%S")
|
164 |
sentence_id = f"{self.current_index+1:04d}"
|
|
|
158 |
return f"<div style='{font_css}'>{text}</div>"
|
159 |
|
160 |
|
161 |
+
def generate_filenames(self, dataset_name: str, speaker_id: str) -> Tuple[str, str]:
|
162 |
"""Generate unique filenames for audio and text files"""
|
163 |
timestamp = datetime.now().strftime("%Y%m%d%H%M%S")
|
164 |
sentence_id = f"{self.current_index+1:04d}"
|