Spaces:
Paused
Paused
Update routers/search.py
Browse files- routers/search.py +4 -0
routers/search.py
CHANGED
|
@@ -15,6 +15,10 @@ from functools import lru_cache
|
|
| 15 |
import aiofiles
|
| 16 |
from concurrent.futures import ThreadPoolExecutor
|
| 17 |
import time
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
router = APIRouter()
|
| 20 |
|
|
|
|
| 15 |
import aiofiles
|
| 16 |
from concurrent.futures import ThreadPoolExecutor
|
| 17 |
import time
|
| 18 |
+
import logging
|
| 19 |
+
|
| 20 |
+
# Desabilita logs do httpx
|
| 21 |
+
logging.getLogger("httpx").setLevel(logging.WARNING)
|
| 22 |
|
| 23 |
router = APIRouter()
|
| 24 |
|