suriya7 commited on
Commit
464fbf3
·
verified ·
1 Parent(s): e571881

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -9,11 +9,6 @@ from PIL import Image
9
  import pdf2image
10
  import google.generativeai as genai
11
 
12
- poppler_path = "poppler/Library/bin"
13
-
14
- # Set the Poppler path
15
- pdf2image.configuration(poppler_path=poppler_path)
16
-
17
  genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
18
 
19
  def get_gemini_response(input,pdf_cotent,prompt):
 
9
  import pdf2image
10
  import google.generativeai as genai
11
 
 
 
 
 
 
12
  genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
13
 
14
  def get_gemini_response(input,pdf_cotent,prompt):