Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,9 +38,6 @@ memory = ConversationBufferMemory(memory_key="chat_history")
|
|
38 |
|
39 |
llm_chain = LLMChain(
|
40 |
llm=ChatGoogleGenerativeAI(model="gemini-1.5-flash-lastest"),
|
41 |
-
safety_settings={
|
42 |
-
HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT: HarmBlockThreshold.BLOCK_NONE,
|
43 |
-
},
|
44 |
prompt=prompt,
|
45 |
verbose=True,
|
46 |
memory=memory,
|
|
|
38 |
|
39 |
llm_chain = LLMChain(
|
40 |
llm=ChatGoogleGenerativeAI(model="gemini-1.5-flash-lastest"),
|
|
|
|
|
|
|
41 |
prompt=prompt,
|
42 |
verbose=True,
|
43 |
memory=memory,
|