Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update aggregate.py
Browse files- aggregate.py +1 -1
aggregate.py
CHANGED
@@ -119,7 +119,7 @@ class BatchAggregator:
|
|
119 |
)
|
120 |
return pipeline(
|
121 |
"text2text-generation",
|
122 |
-
model_name,
|
123 |
device=self.device,
|
124 |
torch_dtype=torch.float32,
|
125 |
)
|
|
|
119 |
)
|
120 |
return pipeline(
|
121 |
"text2text-generation",
|
122 |
+
model=model_name,
|
123 |
device=self.device,
|
124 |
torch_dtype=torch.float32,
|
125 |
)
|