Spaces:
Build error
Build error
Update utils.py
Browse files
utils.py
CHANGED
@@ -44,8 +44,8 @@ def get_t5_model():
|
|
44 |
def get_flan_t5_model():
|
45 |
return pipeline(
|
46 |
"summarization",
|
47 |
-
model="google/flan-t5-
|
48 |
-
tokenizer="google/flan-t5-
|
49 |
max_length=512,
|
50 |
# length_penalty = 0
|
51 |
)
|
|
|
44 |
def get_flan_t5_model():
|
45 |
return pipeline(
|
46 |
"summarization",
|
47 |
+
model="google/flan-t5-large",
|
48 |
+
tokenizer="google/flan-t5-large",
|
49 |
max_length=512,
|
50 |
# length_penalty = 0
|
51 |
)
|