YasirAbdali commited on
Commit
9ddd8ad
1 Parent(s): 4d3bd41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -17,9 +17,7 @@ max_length = st.slider("Maximum length of generated text:", min_value=100, max_v
17
  if topic:
18
  # Construct a detailed prompt
19
  prompt = f"""Write a well-formatted blog post about {topic}.
20
- Here's the blog post:
21
-
22
- # """
23
 
24
  # Tokenize input
25
  input_ids = tokenizer.encode(prompt, return_tensors="pt")
 
17
  if topic:
18
  # Construct a detailed prompt
19
  prompt = f"""Write a well-formatted blog post about {topic}.
20
+ """
 
 
21
 
22
  # Tokenize input
23
  input_ids = tokenizer.encode(prompt, return_tensors="pt")