shingguy1 commited on
Commit
8236ef2
·
verified ·
1 Parent(s): d586be9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ if uploaded_file:
35
 
36
  # Step 2: Generate Story (remove prompt from output)
37
  with st.spinner("Writing a children's story..."):
38
- prompt = f"Write a short, imaginative story for children aged 3-10 about this: {caption}"
39
  story_output = gpt2(
40
  prompt,
41
  max_length=100,
 
35
 
36
  # Step 2: Generate Story (remove prompt from output)
37
  with st.spinner("Writing a children's story..."):
38
+ prompt = f"{caption}"
39
  story_output = gpt2(
40
  prompt,
41
  max_length=100,