Manasa1 commited on
Commit
9384e9a
·
verified ·
1 Parent(s): 9008d0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,9 +2,9 @@ import google.generativeai as genai
2
  import pdfplumber
3
  import gradio as gr
4
  import os
5
- from dotenv import python_dotenv
 
6
 
7
- python_dotenv()
8
 
9
  # Replace with your API key
10
  GOOGLE_API_KEY = os.getenv("GEMINI_API_KEY")
 
2
  import pdfplumber
3
  import gradio as gr
4
  import os
5
+ from dotenv import load_dotenv
6
+ load_dotenv()
7
 
 
8
 
9
  # Replace with your API key
10
  GOOGLE_API_KEY = os.getenv("GEMINI_API_KEY")