Spaces:
Paused
Paused
Update app_parallel.py
Browse files- app_parallel.py +2 -2
app_parallel.py
CHANGED
@@ -21,11 +21,11 @@ import moviepy.editor as mp
|
|
21 |
import requests
|
22 |
import json
|
23 |
import pickle
|
24 |
-
from dotenv import load_dotenv
|
25 |
from concurrent.futures import ProcessPoolExecutor, as_completed
|
26 |
|
27 |
# Load environment variables from .env file
|
28 |
-
load_dotenv()
|
29 |
|
30 |
# Initialize ProcessPoolExecutor for parallel processing
|
31 |
executor = ProcessPoolExecutor(max_workers=3)
|
|
|
21 |
import requests
|
22 |
import json
|
23 |
import pickle
|
24 |
+
# from dotenv import load_dotenv
|
25 |
from concurrent.futures import ProcessPoolExecutor, as_completed
|
26 |
|
27 |
# Load environment variables from .env file
|
28 |
+
# load_dotenv()
|
29 |
|
30 |
# Initialize ProcessPoolExecutor for parallel processing
|
31 |
executor = ProcessPoolExecutor(max_workers=3)
|