Spaces:
Running
Running
Update app.py
#2
by KroZenDev - opened
app.py
CHANGED
|
@@ -10,7 +10,7 @@ md = MarkItDown()
|
|
| 10 |
|
| 11 |
# Configure Gemini AI
|
| 12 |
genai.configure(api_key=os.getenv('GEMINI_KEY'))
|
| 13 |
-
model = genai.GenerativeModel('gemini-2.0-flash-lite
|
| 14 |
|
| 15 |
def process_with_markitdown(input_path):
|
| 16 |
"""Process file or URL with MarkItDown and return text content"""
|
|
|
|
| 10 |
|
| 11 |
# Configure Gemini AI
|
| 12 |
genai.configure(api_key=os.getenv('GEMINI_KEY'))
|
| 13 |
+
model = genai.GenerativeModel('gemini-2.0-flash-lite')
|
| 14 |
|
| 15 |
def process_with_markitdown(input_path):
|
| 16 |
"""Process file or URL with MarkItDown and return text content"""
|