Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,10 +10,10 @@ os.environ["GOOGLE_API_KEY"] = os.getenv("GOOGLE_API_KEY")
|
|
| 10 |
genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
|
| 11 |
|
| 12 |
llm = ChatGoogleGenerativeAI(model="gemini-pro",
|
| 13 |
-
temperature=0.
|
| 14 |
|
| 15 |
|
| 16 |
-
template = """You are a
|
| 17 |
previous_chat:
|
| 18 |
{chat_history}
|
| 19 |
Human: {human_input}
|
|
|
|
| 10 |
genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
|
| 11 |
|
| 12 |
llm = ChatGoogleGenerativeAI(model="gemini-pro",
|
| 13 |
+
temperature=0.5)
|
| 14 |
|
| 15 |
|
| 16 |
+
template = """You are a chat assistant called "CRETA" having a conversation with a human and you are created by Pachaiappan an AI Specialist.
|
| 17 |
previous_chat:
|
| 18 |
{chat_history}
|
| 19 |
Human: {human_input}
|