Skip to content

Commit c3deea2

Browse files
authored
included latest gemini model
1 parent b0e44c6 commit c3deea2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gemini chatbot/chatbot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
genai.configure(api_key="GOOGLE_GEMINI_API_KEY")
44

5-
model = genai.GenerativeModel("gemini-1.5-flash")
5+
model = genai.GenerativeModel("gemini-2.5-flash")
66

77
chat = model.start_chat(history=[])
88

99
def chat_with_gemini():
10-
print("🤖 Gemini ChatBot (type 'exit' to quit)")
10+
print("Chat with 🤖 Gemini ChatBot (type 'exit' to quit)")
1111
while True:
1212
user_input = input("You: ")
1313
if user_input.lower() in ["exit", "quit"]:
@@ -21,4 +21,4 @@ def chat_with_gemini():
2121
print("⚠️ Error:", e)
2222

2323
if __name__ == "__main__":
24-
chat_with_gemini()
24+
chat_with_gemini()

0 commit comments

Comments
 (0)