xu3kev commited on
Commit
52dc724
1 Parent(s): 9768ed0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -340,7 +340,7 @@ def run(img_str):
340
  from concurrent.futures import ProcessPoolExecutor
341
  from concurrent.futures import as_completed
342
  gif_results = []
343
- with ProcessPoolExecutor(max_workers=8) as executor:
344
  futures = [executor.submit(run_code, new_folder, i, code) for i, code in enumerate(codes)]
345
  for future in as_completed(futures):
346
  try:
 
340
  from concurrent.futures import ProcessPoolExecutor
341
  from concurrent.futures import as_completed
342
  gif_results = []
343
+ with ProcessPoolExecutor(max_workers=10) as executor:
344
  futures = [executor.submit(run_code, new_folder, i, code) for i, code in enumerate(codes)]
345
  for future in as_completed(futures):
346
  try: