cnph001 commited on
Commit
1aa49bc
·
verified ·
1 Parent(s): b2ba8d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ async def process_transcript_line(line, default_voice, rate, pitch):
180
  split_parts = re.split(r'(")', text_parts) # Split by quote marks, keeping the quotes
181
  # Initialize a variable to track if it's the first iteration
182
  global check1 # Use the global variable
183
- check1 = True
184
  process_next = False
185
  for part in split_parts:
186
  if part == '"': #process text that are inside quote
 
180
  split_parts = re.split(r'(")', text_parts) # Split by quote marks, keeping the quotes
181
  # Initialize a variable to track if it's the first iteration
182
  global check1 # Use the global variable
183
+ check1 = False
184
  process_next = False
185
  for part in split_parts:
186
  if part == '"': #process text that are inside quote