DeepLearning101 commited on
Commit
ddcc970
·
verified ·
1 Parent(s): e351eeb

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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-1.5-flash-latest",
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=[])