Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ def main():
|
|
| 114 |
st.header("⚙️ Settings")
|
| 115 |
|
| 116 |
with st.expander("✨ AI Settings"):
|
| 117 |
-
model_name = st.selectbox("🤖 AI Model", ["gemini-2.0-flash-exp", "gemini-1.5-flash
|
| 118 |
temperature = st.slider("🌡️ Temperature", min_value=0.1, max_value=1.0, value=0.7, step=0.1, help="Adjust the AI's creativity.")
|
| 119 |
max_tokens = st.number_input("📏 Max Tokens", min_value=128, max_value=8192, value=8192, step=128, help="Adjust the maximum size of the response.")
|
| 120 |
|
|
|
|
| 114 |
st.header("⚙️ Settings")
|
| 115 |
|
| 116 |
with st.expander("✨ AI Settings"):
|
| 117 |
+
model_name = st.selectbox("🤖 AI Model", ["gemini-2.0-flash-exp", "gemini-1.5-flash"], index=0, help="Choose the AI model.")
|
| 118 |
temperature = st.slider("🌡️ Temperature", min_value=0.1, max_value=1.0, value=0.7, step=0.1, help="Adjust the AI's creativity.")
|
| 119 |
max_tokens = st.number_input("📏 Max Tokens", min_value=128, max_value=8192, value=8192, step=128, help="Adjust the maximum size of the response.")
|
| 120 |
|