JennySHT commited on
Commit
c5f9a82
1 Parent(s): 31c1dc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -2,7 +2,6 @@ import streamlit as st
2
  from transformers import T5ForConditionalGeneration, T5Tokenizer
3
  import opencc
4
 
5
- #local_path = "./LLM"
6
  # 使用中文摘要模型
7
  local_path = 'utrobinmv/t5_summary_en_ru_zh_base_2048'
8
  model = T5ForConditionalGeneration.from_pretrained(local_path)
 
2
  from transformers import T5ForConditionalGeneration, T5Tokenizer
3
  import opencc
4
 
 
5
  # 使用中文摘要模型
6
  local_path = 'utrobinmv/t5_summary_en_ru_zh_base_2048'
7
  model = T5ForConditionalGeneration.from_pretrained(local_path)