Spaces:
Sleeping
Sleeping
QuindeelFatima
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the pre-trained language model
|
5 |
-
generator = pipeline("text-generation", model="
|
6 |
|
7 |
# Streamlit app
|
8 |
st.title("Blog Post Generator")
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the pre-trained language model
|
5 |
+
generator = pipeline("text-generation", model="gpt2")
|
6 |
|
7 |
# Streamlit app
|
8 |
st.title("Blog Post Generator")
|