Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def get_conversation_chain(vectorstore):
|
|
50 |
llm = HuggingFaceEndpoint(
|
51 |
repo_id="google/flan-t5-base",
|
52 |
temperature=0.5,
|
53 |
-
|
54 |
)
|
55 |
|
56 |
memory = ConversationBufferMemory(
|
|
|
50 |
llm = HuggingFaceEndpoint(
|
51 |
repo_id="google/flan-t5-base",
|
52 |
temperature=0.5,
|
53 |
+
max_new_tokens=248
|
54 |
)
|
55 |
|
56 |
memory = ConversationBufferMemory(
|