gnumanth commited on
Commit
26783c4
·
verified ·
1 Parent(s): a226bc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
  from markitdown import MarkItDown
3
  import google.generativeai as genai
@@ -10,7 +11,7 @@ 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):
16
  """Process file or URL with MarkItDown and return text content"""
 
1
+
2
  import gradio as gr
3
  from markitdown import MarkItDown
4
  import google.generativeai as genai
 
11
 
12
  # Configure Gemini AI
13
  genai.configure(api_key=os.getenv('GEMINI_KEY'))
14
+ model = genai.GenerativeModel('gemini-2.0-flash-exp')
15
 
16
  def process_with_markitdown(input_path):
17
  """Process file or URL with MarkItDown and return text content"""