Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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
|