Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import fitz # PyMuPDF
|
3 |
from PIL import Image
|
|
|
|
|
4 |
|
5 |
def analysis_process(pdf_file):
|
6 |
# Open the PDF file
|
|
|
1 |
import gradio as gr
|
2 |
import fitz # PyMuPDF
|
3 |
from PIL import Image
|
4 |
+
from donut import DonutModel
|
5 |
+
|
6 |
|
7 |
def analysis_process(pdf_file):
|
8 |
# Open the PDF file
|