YasirAbdali commited on
Commit
635c9b8
1 Parent(s): 60eadbb

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, AutoModelForCausalLM
3
  import streamlit as st
4
 
5
  # Load GPT-2 model and tokenizer
6
- model_name = "gpt2"
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForCausalLM.from_pretrained(model_name)
9
 
 
3
  import streamlit as st
4
 
5
  # Load GPT-2 model and tokenizer
6
+ model_name = "YasirAbdali/bart-summarization"
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  model = AutoModelForCausalLM.from_pretrained(model_name)
9