com3dian commited on
Commit
cab105e
1 Parent(s): 42edfc0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -55,7 +55,7 @@ print(summary)
55
 
56
  # Or using the pipeline API
57
  summarizer = pipeline("summarization", model=model_name)
58
- summary = summarizer(text, max_length=50, min_length=30, do_sample=False)
59
  print(summary)
60
  ```
61
 
 
55
 
56
  # Or using the pipeline API
57
  summarizer = pipeline("summarization", model=model_name)
58
+ summary = summarizer(input_text, max_length=50, min_length=30, do_sample=False)
59
  print(summary)
60
  ```
61