ianluo commited on
Commit
be95046
1 Parent(s): ca3731f
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
5
 
6
  app = FastAPI()
7
 
8
- pipe_ocr = pipeline("text2text-generation", model="naver-clova-ocr/bros-base-uncased")
9
 
10
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
11
 
 
5
 
6
  app = FastAPI()
7
 
8
+ pipe_ocr = pipeline(model="naver-clova-ocr/bros-base-uncased")
9
 
10
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
11