Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -151,7 +151,7 @@ def get_gemini_response(user_input):
|
|
| 151 |
try:
|
| 152 |
# 建議使用 1.5-flash,反應速度最快且對文本理解極佳
|
| 153 |
model = genai.GenerativeModel(
|
| 154 |
-
model_name="gemini-
|
| 155 |
system_instruction=system_instruction
|
| 156 |
)
|
| 157 |
chat = model.start_chat(history=[])
|
|
|
|
| 151 |
try:
|
| 152 |
# 建議使用 1.5-flash,反應速度最快且對文本理解極佳
|
| 153 |
model = genai.GenerativeModel(
|
| 154 |
+
model_name="gemini-flash-lite-latest",
|
| 155 |
system_instruction=system_instruction
|
| 156 |
)
|
| 157 |
chat = model.start_chat(history=[])
|