diff --git a/summarizer.py b/summarizer.py index 4c10a3d..2c1c09b 100644 --- a/summarizer.py +++ b/summarizer.py @@ -4,8 +4,8 @@ import dspy class Summarizer(PrecompiledProgram): def __init__(self, **kwargs): - self.predict = dspy.Predict("input -> summary") super().__init__(**kwargs) + self.predict = dspy.Predict("input -> summary") def forward(self, input: str) -> str: return self.predict(input=input)