We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e44c6 commit c3deea2Copy full SHA for c3deea2
gemini chatbot/chatbot.py
@@ -2,12 +2,12 @@
2
3
genai.configure(api_key="GOOGLE_GEMINI_API_KEY")
4
5
-model = genai.GenerativeModel("gemini-1.5-flash")
+model = genai.GenerativeModel("gemini-2.5-flash")
6
7
chat = model.start_chat(history=[])
8
9
def chat_with_gemini():
10
- print("🤖 Gemini ChatBot (type 'exit' to quit)")
+ print("Chat with 🤖 Gemini ChatBot (type 'exit' to quit)")
11
while True:
12
user_input = input("You: ")
13
if user_input.lower() in ["exit", "quit"]:
@@ -21,4 +21,4 @@ def chat_with_gemini():
21
print("⚠️ Error:", e)
22
23
if __name__ == "__main__":
24
- chat_with_gemini()
+ chat_with_gemini()
0 commit comments