mrhenu commited on
Commit
3bb9b01
·
verified ·
1 Parent(s): 88a1dd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -19,9 +19,7 @@ class LangChainAgent:
19
  self.llm = HuggingFaceEndpoint(
20
  repo_id="google/flan-t5-xxl",
21
  task="text-generation",
22
- model_kwargs={
23
- "max_new_tokens": 512,
24
- }
25
  )
26
  print("LLM initialized with google/flan-t5-xxl.")
27
 
 
19
  self.llm = HuggingFaceEndpoint(
20
  repo_id="google/flan-t5-xxl",
21
  task="text-generation",
22
+ max_new_tokens=512
 
 
23
  )
24
  print("LLM initialized with google/flan-t5-xxl.")
25