tester1hf commited on
Commit
458f797
·
verified ·
1 Parent(s): 1eddab4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=2) as executor:
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()