erinak commited on
Commit
ee4dc09
1 Parent(s): 5589234

modify typo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def summy(text):
66
  min_length=150, # 生成数の下限
67
  num_beams=5 # ビームサーチの設定
68
  )
69
- summarize_text = tokenizer_sum.decode(output[0], skip_special_tokens=True)
70
 
71
  return summarize_text
72
 
 
66
  min_length=150, # 生成数の下限
67
  num_beams=5 # ビームサーチの設定
68
  )
69
+ summarize_text = tokenizer_sum.decode(outputs[0], skip_special_tokens=True)
70
 
71
  return summarize_text
72