Update pdfextract_fun.py
Browse files- pdfextract_fun.py +1 -1
pdfextract_fun.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import warnings
|
2 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
3 |
import time
|
4 |
-
# Filter warnings about
|
5 |
warnings.filterwarnings("ignore", message="None of the inputs have requires_grad=True. Gradients will be None")
|
6 |
warnings.filterwarnings("ignore", message="torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument.")
|
7 |
|
|
|
1 |
import warnings
|
2 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
3 |
import time
|
4 |
+
# Filter warnings about inputs not requiring gradients
|
5 |
warnings.filterwarnings("ignore", message="None of the inputs have requires_grad=True. Gradients will be None")
|
6 |
warnings.filterwarnings("ignore", message="torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument.")
|
7 |
|