Sayandip commited on
Commit
3c4247a
·
verified ·
1 Parent(s): 813036b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -30,7 +30,10 @@ if not GOOGLE_API_KEY:
30
  st.stop()
31
 
32
  genai.configure(api_key=GOOGLE_API_KEY)
33
- model = genai.GenerativeModel(model_name="gemini-2.0-flash")
 
 
 
34
 
35
  # Helper: Extract text from various documents
36
  def load_and_extract_text(file_path):
 
30
  st.stop()
31
 
32
  genai.configure(api_key=GOOGLE_API_KEY)
33
+ model = genai.GenerativeModel(
34
+ model_name="gemini-2.0-flash",
35
+ tools=[{"google_search": {}}]
36
+ )
37
 
38
  # Helper: Extract text from various documents
39
  def load_and_extract_text(file_path):