Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ api_key = os.getenv("OPEN_AI_KEY")
|
|
18 |
user_name = os.getenv("USER_NAME")
|
19 |
password = os.getenv("PASSWORD")
|
20 |
|
21 |
-
LENGTH =
|
22 |
WEBCAM = 0
|
23 |
|
24 |
MARKDOWN = """
|
@@ -217,7 +217,7 @@ def analyze_video_file(prompt, video_path, chatbot):
|
|
217 |
chunk = 0
|
218 |
|
219 |
# Create a thread pool for concurrent processing
|
220 |
-
with ThreadPoolExecutor(max_workers=
|
221 |
futures = []
|
222 |
|
223 |
while not stop_capture:
|
|
|
18 |
user_name = os.getenv("USER_NAME")
|
19 |
password = os.getenv("PASSWORD")
|
20 |
|
21 |
+
LENGTH = 3
|
22 |
WEBCAM = 0
|
23 |
|
24 |
MARKDOWN = """
|
|
|
217 |
chunk = 0
|
218 |
|
219 |
# Create a thread pool for concurrent processing
|
220 |
+
with ThreadPoolExecutor(max_workers=6) as executor:
|
221 |
futures = []
|
222 |
|
223 |
while not stop_capture:
|