Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def get_conversational_chain(api_key):
|
|
| 72 |
|
| 73 |
Answer (based only on the context above):
|
| 74 |
"""
|
| 75 |
-
model = ChatGoogleGenerativeAI(model="gemini-3-flash", temperature=0, google_api_key=api_key)
|
| 76 |
prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
|
| 77 |
|
| 78 |
chain = prompt | model | StrOutputParser()
|
|
|
|
| 72 |
|
| 73 |
Answer (based only on the context above):
|
| 74 |
"""
|
| 75 |
+
model = ChatGoogleGenerativeAI(model="gemini-3-flash-preview", temperature=0, google_api_key=api_key)
|
| 76 |
prompt = PromptTemplate(template=prompt_template, input_variables=["context", "question"])
|
| 77 |
|
| 78 |
chain = prompt | model | StrOutputParser()
|