tomato commited on
Commit
fe88fa5
1 Parent(s): 9e5c5bb

try to solve [runtime error]

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
6
  MODEL_NAME = "IDEA-CCNL/Randeng-Pegasus-238M-Summary-Chinese"
7
 
8
  summarizer = pipeline(
9
- task="automatic-speech-recognition",
10
  model=MODEL_NAME
11
  )
12
 
 
6
  MODEL_NAME = "IDEA-CCNL/Randeng-Pegasus-238M-Summary-Chinese"
7
 
8
  summarizer = pipeline(
9
+ task="Summarization",
10
  model=MODEL_NAME
11
  )
12