Omarrran commited on
Commit
18d6a1e
·
verified ·
1 Parent(s): 13b3100

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -153,9 +153,10 @@ class TTSDatasetCollector:
153
  return False, error_msg
154
 
155
  def get_styled_text(self, text: str) -> str:
156
- """Get text with current font styling"""
157
- font_css = FONT_STYLES[self.current_font]['css']
158
- return f"<div style='{font_css}'>{text}</div>"
 
159
 
160
  def generate_filenames(self, dataset_name: str, speaker_id: str) -> Tuple[str, str]:
161
  """Generate unique filenames for audio and text files"""
 
153
  return False, error_msg
154
 
155
  def get_styled_text(self, text: str) -> str:
156
+ """Get text with current font styling"""
157
+ font_css = FONT_STYLES[self.current_font]['css']
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"""