Open zlh-source opened 5 months ago
Should this line of code be modified as follows?
summary = outputs[0]["generated_text"][len(prompt):].strip()
Should this line of code be modified as follows?
summary = outputs[0]["generated_text"][len(prompt):].strip()