Spaces:
Sleeping
Sleeping
Pclanglais
commited on
Commit
•
28a19ef
1
Parent(s):
cc8b44c
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import spaces
|
|
2 |
import transformers
|
3 |
import re
|
4 |
from transformers import AutoConfig, AutoTokenizer, AutoModel, AutoModelForCausalLM, pipeline
|
5 |
-
from vllm import LLM, SamplingParams
|
6 |
import torch
|
7 |
import gradio as gr
|
8 |
import json
|
@@ -11,7 +10,6 @@ import shutil
|
|
11 |
import requests
|
12 |
import pandas as pd
|
13 |
import difflib
|
14 |
-
from concurrent.futures import ThreadPoolExecutor
|
15 |
|
16 |
# OCR Correction Model
|
17 |
ocr_model_name = "PleIAs/OCRonos-Vintage"
|
|
|
2 |
import transformers
|
3 |
import re
|
4 |
from transformers import AutoConfig, AutoTokenizer, AutoModel, AutoModelForCausalLM, pipeline
|
|
|
5 |
import torch
|
6 |
import gradio as gr
|
7 |
import json
|
|
|
10 |
import requests
|
11 |
import pandas as pd
|
12 |
import difflib
|
|
|
13 |
|
14 |
# OCR Correction Model
|
15 |
ocr_model_name = "PleIAs/OCRonos-Vintage"
|