Howosn commited on
Commit
7825dd0
·
verified ·
1 Parent(s): 4f61220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
 
5
  # Load the summarization & translation model pipeline
6
- tran_sum_pipe = pipeline("translation", model='utrobinmv/t5_summary_en_ru_zh_base_2048',return_all_scores=True)
7
  sentiment_pipeline = pipeline("text-classification", model='Howosn/Sentiment_Model',return_all_scores=True)
8
  #tokenizer = AutoTokenizer.from_pretrained('Howosn/Sentiment_Model', use_fast=False)
9
 
 
3
 
4
 
5
  # Load the summarization & translation model pipeline
6
+ tran_sum_pipe = pipeline("translation", model='utrobinmv/t5_summary_en_ru_zh_base_2048')
7
  sentiment_pipeline = pipeline("text-classification", model='Howosn/Sentiment_Model',return_all_scores=True)
8
  #tokenizer = AutoTokenizer.from_pretrained('Howosn/Sentiment_Model', use_fast=False)
9