frendyrachman commited on
Commit
c93a052
·
verified ·
1 Parent(s): 365e16f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from pdf2image import convert_from_path
3
  from datetime import date
4
  from PIL import Image
5
  import gradio as gr
6
- import google.generativeai as 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):
 
3
  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):