Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from donut import DonutModel
|
|
5 |
|
6 |
|
7 |
def analysis_process(pdf_file):
|
|
|
8 |
# Open the PDF file
|
9 |
document = fitz.open(pdf_file.name)
|
10 |
# Get the first page
|
|
|
5 |
|
6 |
|
7 |
def analysis_process(pdf_file):
|
8 |
+
global model, task_prompt, task_name
|
9 |
# Open the PDF file
|
10 |
document = fitz.open(pdf_file.name)
|
11 |
# Get the first page
|