Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,7 @@ from pathlib import Path
|
|
9 |
md = MarkItDown()
|
10 |
|
11 |
# Configure Gemini AI
|
12 |
-
|
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):
|