Spaces:
Sleeping
Sleeping
YasirAbdali
commited on
Commit
•
635c9b8
1
Parent(s):
60eadbb
Update app.py
Browse files
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 = "
|
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 |
|