Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ os.environ["DOC_PATH"] = "./local" # Path to the folder with documents
|
|
20 |
REPORT_TYPE = "research_report"
|
21 |
|
22 |
# ThreadPoolExecutor to handle asynchronous tasks
|
23 |
-
executor = ThreadPoolExecutor(max_workers=
|
24 |
|
25 |
|
26 |
# Define the asynchronous function to fetch the report
|
|
|
20 |
REPORT_TYPE = "research_report"
|
21 |
|
22 |
# ThreadPoolExecutor to handle asynchronous tasks
|
23 |
+
executor = ThreadPoolExecutor(max_workers=16) # Adjust the number of workers as needed
|
24 |
|
25 |
|
26 |
# Define the asynchronous function to fetch the report
|