Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def get_conversational_chain():
|
|
| 84 |
input_variables=["summaries", "question"],
|
| 85 |
)
|
| 86 |
|
| 87 |
-
model = ChatGoogleGenerativeAI(model="gemini-
|
| 88 |
|
| 89 |
# LLMChain ها
|
| 90 |
map_llm_chain = LLMChain(llm=model, prompt=map_prompt_tmpl) # expects: context, question
|
|
|
|
| 84 |
input_variables=["summaries", "question"],
|
| 85 |
)
|
| 86 |
|
| 87 |
+
model = ChatGoogleGenerativeAI(model="gemini-1.5-flash", client=genai, temperature=0.3)
|
| 88 |
|
| 89 |
# LLMChain ها
|
| 90 |
map_llm_chain = LLMChain(llm=model, prompt=map_prompt_tmpl) # expects: context, question
|