arpm01 commited on
Commit
69cbe8b
·
1 Parent(s): f0d20e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ tokenizer = AutoTokenizer.from_pretrained("human-centered-summarization/financia
7
  # model=model,
8
  # tokenizer=tokenizer,)
9
 
10
- pipe = pipeline(task="text2text-generation", model = "human-centered-summarization/financial-summarization-pegasus", tokenizer=tokenizer)
11
 
12
  with open('text1.txt') as f:
13
  text1 = f.read()
 
7
  # model=model,
8
  # tokenizer=tokenizer,)
9
 
10
+ pipe = pipeline(task="text2text-generation", model = model, tokenizer=tokenizer)
11
 
12
  with open('text1.txt') as f:
13
  text1 = f.read()