Howosn commited on
Commit
8e3ef38
·
verified ·
1 Parent(s): d9fc0db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
  from transformers import pipeline
 
3
 
4
  def tras_sum(input):
5
  model_name = 'utrobinmv/t5_summary_en_ru_zh_base_2048'
 
1
  import streamlit as st
2
  from transformers import pipeline
3
+ from transformers import T5ForConditionalGeneration, T5Tokenizer
4
 
5
  def tras_sum(input):
6
  model_name = 'utrobinmv/t5_summary_en_ru_zh_base_2048'