chanyaphas commited on
Commit
c800c62
·
1 Parent(s): 4b2477b

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 AutoTokenizer, AutoModelForSeq2SeqLM
3
  import torch
4
 
5
  # โหลด tokenizer และโมเดล
6
- model_name = "facebook/bart-large-cnn"
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
9
 
 
3
  import torch
4
 
5
  # โหลด tokenizer และโมเดล
6
+ model_name = "chanyaphas/summarize"
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForSeq2SeqLM.from_pretrained(model_name)
9