Spaces:
Sleeping
Sleeping
Fixed Import
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ from datetime import date
|
|
| 4 |
from PIL import Image
|
| 5 |
import gradio as gr
|
| 6 |
from google import genai
|
|
|
|
|
|
|
| 7 |
os.system("apt-get install poppler-utils")
|
| 8 |
# Function to process a list of PDF files and convert them to images
|
| 9 |
def process_pdfs(pdf_files):
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
import gradio as gr
|
| 6 |
from google import genai
|
| 7 |
+
import zipfile
|
| 8 |
+
import tempfile
|
| 9 |
os.system("apt-get install poppler-utils")
|
| 10 |
# Function to process a list of PDF files and convert them to images
|
| 11 |
def process_pdfs(pdf_files):
|