razent commited on
Commit
66c6a3d
·
1 Parent(s): 41465f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def predict(input_ids, attention_mask):
16
 
17
 
18
  extractor = gr.Interface(preprocess, 'text', 'text')
19
- summarizer = gr.Interface.load("VietAI/vit5-large-vietnews-summarization")
20
 
21
  sample_url = [['VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.'],
22
  ]
 
16
 
17
 
18
  extractor = gr.Interface(preprocess, 'text', 'text')
19
+ summarizer = gr.Interface.load("huggingface/VietAI/vit5-large-vietnews-summarization")
20
 
21
  sample_url = [['VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.'],
22
  ]