Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,12 +4,15 @@ import os
|
|
| 4 |
from dotenv import load_dotenv
|
| 5 |
from styles import get_custom_css
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Load environment variables
|
| 8 |
load_dotenv()
|
| 9 |
|
| 10 |
# Configure Google Gemini API
|
| 11 |
genai.configure(api_key=os.getenv('GOOGLE_API_KEY'))
|
| 12 |
-
model = genai.GenerativeModel('gemini-
|
| 13 |
|
| 14 |
# Hide Streamlit menu and footer
|
| 15 |
st.markdown("""
|
|
|
|
| 4 |
from dotenv import load_dotenv
|
| 5 |
from styles import get_custom_css
|
| 6 |
|
| 7 |
+
# Set page to wide mode to use full width
|
| 8 |
+
st.set_page_config(layout="wide")
|
| 9 |
+
|
| 10 |
# Load environment variables
|
| 11 |
load_dotenv()
|
| 12 |
|
| 13 |
# Configure Google Gemini API
|
| 14 |
genai.configure(api_key=os.getenv('GOOGLE_API_KEY'))
|
| 15 |
+
model = genai.GenerativeModel('gemini-2.0-flash')
|
| 16 |
|
| 17 |
# Hide Streamlit menu and footer
|
| 18 |
st.markdown("""
|