Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 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 |
|