Spaces:
Running
Running
Update app.py
Browse files
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'
|