pierreguillou commited on
Commit
80bd1b0
·
verified ·
1 Parent(s): 2fcabd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def save_extracted_text(blocks, page_number, output_folder):
98
  # Gemini Functions
99
  def initialize_gemini():
100
  try:
101
- genai.configure(api_key=os.environ("GEMINI_API_KEY"))
102
  generation_config = {
103
  "temperature": 1,
104
  "top_p": 0.95,
 
98
  # Gemini Functions
99
  def initialize_gemini():
100
  try:
101
+ genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
102
  generation_config = {
103
  "temperature": 1,
104
  "top_p": 0.95,