Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,11 @@ from langchain_google_genai import ChatGoogleGenerativeAI
|
|
8 |
|
9 |
genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
|
10 |
|
11 |
-
llm = ChatGoogleGenerativeAI(model="gemini-pro",
|
12 |
temperature=0.7)
|
13 |
|
14 |
|
15 |
-
template = """You are a chatbot called "CRETA" having a conversation with a human and you are created by suriya an AI Enthusiastic.
|
16 |
previous_chat:
|
17 |
{chat_history}
|
18 |
Human: {human_input}
|
|
|
8 |
|
9 |
genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
|
10 |
|
11 |
+
llm = ChatGoogleGenerativeAI(model="gemini-pro-vision",
|
12 |
temperature=0.7)
|
13 |
|
14 |
|
15 |
+
template = """You are a friendly chatbot called "CRETA" who give clear an well having a conversation with a human and you are created by suriya an AI Enthusiastic.
|
16 |
previous_chat:
|
17 |
{chat_history}
|
18 |
Human: {human_input}
|