Sayandip commited on
Commit
1e218ae
·
verified ·
1 Parent(s): f557cbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,7 +101,7 @@ def export_conversation_to_pdf(conversation_history):
101
 
102
  # --------- Main App ---------
103
  def main():
104
- st.set_page_config(page_title="Gemini 2.0 Flash Chat Q&A", layout="wide")
105
  st.title("\U0001F4C4 Team 18 Prototype with Document Support and Internet Search")
106
 
107
  if "conversation" not in st.session_state:
@@ -211,7 +211,7 @@ def main():
211
  content_blocks.append({"text": f"Question: {user_input}"})
212
 
213
  response = client.models.generate_content(
214
- model="gemini-2.0-flash",
215
  contents=content_blocks,
216
  config={"tools": [{"google_search": {}}]}
217
  )
 
101
 
102
  # --------- Main App ---------
103
  def main():
104
+ st.set_page_config(page_title="Gemini 2.5 Flash Chat Q&A", layout="wide")
105
  st.title("\U0001F4C4 Team 18 Prototype with Document Support and Internet Search")
106
 
107
  if "conversation" not in st.session_state:
 
211
  content_blocks.append({"text": f"Question: {user_input}"})
212
 
213
  response = client.models.generate_content(
214
+ model="gemini-2.5-flash",
215
  contents=content_blocks,
216
  config={"tools": [{"google_search": {}}]}
217
  )