Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -11,6 +11,8 @@ import PyPDF2
|
|
11 |
from docx import Document
|
12 |
from PIL import Image
|
13 |
import pytesseract
|
|
|
|
|
14 |
|
15 |
app = FastAPI()
|
16 |
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
|
|
|
11 |
from docx import Document
|
12 |
from PIL import Image
|
13 |
import pytesseract
|
14 |
+
import io
|
15 |
+
import base64
|
16 |
|
17 |
app = FastAPI()
|
18 |
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
|