Spaces:
Sleeping
Sleeping
changed model to flant-t5-large
Browse files
graph.py
CHANGED
|
@@ -139,7 +139,7 @@ def build_graph(retriever=None, summarizer=None) -> Any:
|
|
| 139 |
# LLM pipeline (CPU only)
|
| 140 |
hf_pipe = pipeline(
|
| 141 |
"text2text-generation",
|
| 142 |
-
model="google/flan-t5-
|
| 143 |
max_length=2048, # Increased for multi-part questions
|
| 144 |
device=-1
|
| 145 |
)
|
|
|
|
| 139 |
# LLM pipeline (CPU only)
|
| 140 |
hf_pipe = pipeline(
|
| 141 |
"text2text-generation",
|
| 142 |
+
model="google/flan-t5-large",
|
| 143 |
max_length=2048, # Increased for multi-part questions
|
| 144 |
device=-1
|
| 145 |
)
|