Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import fitz
|
|
|
2 |
from fastapi import FastAPI, File, UploadFile, Form, HTTPException
|
3 |
from fastapi.responses import JSONResponse
|
4 |
from transformers import pipeline
|
|
|
1 |
import fitz
|
2 |
+
import io
|
3 |
from fastapi import FastAPI, File, UploadFile, Form, HTTPException
|
4 |
from fastapi.responses import JSONResponse
|
5 |
from transformers import pipeline
|