Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 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.
|
| 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 |
)
|