Zain4s commited on
Commit
f4c4c6b
·
verified ·
1 Parent(s): a0841b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ model_name = "gpt2-large"
6
  model = GPT2LMHeadModel.from_pretrained(model_name)
7
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)
8
 
9
- title = st.text_area("Enter a title to generate a blog post:")
10
 
11
  if title:
12
  input_prompt = f"Blog Title: {title}\n\nBlog Post:\n"
 
6
  model = GPT2LMHeadModel.from_pretrained(model_name)
7
  tokenizer = GPT2Tokenizer.from_pretrained(model_name)
8
 
9
+ title = st.text_input("Enter a title to generate a blog post:")
10
 
11
  if title:
12
  input_prompt = f"Blog Title: {title}\n\nBlog Post:\n"