lalital commited on
Commit
c459055
·
verified ·
1 Parent(s): 97127e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -19,8 +19,9 @@ tokenizer = AutoTokenizer.from_pretrained(
19
  'airesearch/wangchanbart-large',
20
  )
21
 
22
- text_summarize_pipeline = pipeline(tokenizer=tokenizer,
23
- model=model)
 
24
 
25
  css_text = """<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">"""
26
 
 
19
  'airesearch/wangchanbart-large',
20
  )
21
 
22
+ text_summarize_pipeline = pipeline('text2text-generation',
23
+ tokenizer=tokenizer,
24
+ model=model)
25
 
26
  css_text = """<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">"""
27