Merge pull request #234 from Madhuvod/health-model
updated the model name
This commit is contained in:
commit
011a23862b
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ def main():
|
||||||
|
|
||||||
if gemini_api_key:
|
if gemini_api_key:
|
||||||
try:
|
try:
|
||||||
gemini_model = Gemini(id="gemini-1.5-flash", api_key=gemini_api_key)
|
gemini_model = Gemini(id="gemini-2.5-flash-preview-05-20", api_key=gemini_api_key)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
st.error(f"❌ Error initializing Gemini model: {e}")
|
st.error(f"❌ Error initializing Gemini model: {e}")
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue