Update app.py
Browse files
app.py
CHANGED
|
@@ -249,7 +249,7 @@ def process_prompt(prompt):
|
|
| 249 |
for speaker, text in item.items()]
|
| 250 |
|
| 251 |
audio_files = []
|
| 252 |
-
with ThreadPoolExecutor(max_workers=
|
| 253 |
futures = [executor.submit(process_line, task) for task in tasks]
|
| 254 |
for future in as_completed(futures):
|
| 255 |
result = future.result()
|
|
|
|
| 249 |
for speaker, text in item.items()]
|
| 250 |
|
| 251 |
audio_files = []
|
| 252 |
+
with ThreadPoolExecutor(max_workers=1) as executor:
|
| 253 |
futures = [executor.submit(process_line, task) for task in tasks]
|
| 254 |
for future in as_completed(futures):
|
| 255 |
result = future.result()
|