Commit
·
cdbefb7
1
Parent(s):
5951139
fix import order for consistency
Browse files- nanonets-ocr.py +2 -2
nanonets-ocr.py
CHANGED
|
@@ -31,12 +31,12 @@ import io
|
|
| 31 |
import logging
|
| 32 |
import os
|
| 33 |
import sys
|
| 34 |
-
from typing import
|
| 35 |
|
| 36 |
import torch
|
| 37 |
-
from PIL import Image
|
| 38 |
from datasets import load_dataset
|
| 39 |
from huggingface_hub import login
|
|
|
|
| 40 |
from toolz import partition_all
|
| 41 |
from tqdm.auto import tqdm
|
| 42 |
from vllm import LLM, SamplingParams
|
|
|
|
| 31 |
import logging
|
| 32 |
import os
|
| 33 |
import sys
|
| 34 |
+
from typing import Any, Dict, List, Union
|
| 35 |
|
| 36 |
import torch
|
|
|
|
| 37 |
from datasets import load_dataset
|
| 38 |
from huggingface_hub import login
|
| 39 |
+
from PIL import Image
|
| 40 |
from toolz import partition_all
|
| 41 |
from tqdm.auto import tqdm
|
| 42 |
from vllm import LLM, SamplingParams
|