gnumanth commited on
Commit
a226bc4
·
verified ·
1 Parent(s): 5a69f4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,8 +9,7 @@ from pathlib import Path
9
  md = MarkItDown()
10
 
11
  # Configure Gemini AI
12
- GOOGLE_API_KEY = "your_api_key_here" # Replace with your actual API key
13
- genai.configure(api_key=GOOGLE_API_KEY)
14
  model = genai.GenerativeModel('gemini-pro')
15
 
16
  def process_with_markitdown(input_path):
 
9
  md = MarkItDown()
10
 
11
  # Configure Gemini AI
12
+ genai.configure(api_key=os.getenv('GEMINI_KEY'))
 
13
  model = genai.GenerativeModel('gemini-pro')
14
 
15
  def process_with_markitdown(input_path):