Spaces:
Sleeping
Sleeping
Commit
·
6c686c9
1
Parent(s):
443ce70
changed num workers
Browse files
test.py
CHANGED
|
@@ -12,7 +12,7 @@ from tqdm import tqdm # optional: install via `pip install tqdm`
|
|
| 12 |
# ----------------------------- #
|
| 13 |
URL = "http://localhost:8000/classify"
|
| 14 |
NUM_REQUESTS = 4000
|
| 15 |
-
MAX_WORKERS = os.cpu_count()
|
| 16 |
TIMEOUT = 20
|
| 17 |
|
| 18 |
logging.basicConfig(level=logging.INFO)
|
|
|
|
| 12 |
# ----------------------------- #
|
| 13 |
URL = "http://localhost:8000/classify"
|
| 14 |
NUM_REQUESTS = 4000
|
| 15 |
+
MAX_WORKERS = os.cpu_count()
|
| 16 |
TIMEOUT = 20
|
| 17 |
|
| 18 |
logging.basicConfig(level=logging.INFO)
|