YasirAbdali commited on
Commit
be8e82b
1 Parent(s): 923db2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -37,13 +37,13 @@ if topic:
37
  # Decode and display generated text
38
  generated_text = tokenizer.decode(output[0], skip_special_tokens=True)
39
 
40
- st.subheader("Generated Summary:")
41
  st.markdown(generated_text)
42
 
43
  # Option to download the blog post
44
  st.download_button(
45
- label="Download Summary",
46
  data=generated_text,
47
- file_name="generated_summary.md",
48
  mime="text/markdown"
49
  )
 
37
  # Decode and display generated text
38
  generated_text = tokenizer.decode(output[0], skip_special_tokens=True)
39
 
40
+ st.subheader("Generated Blog Post:")
41
  st.markdown(generated_text)
42
 
43
  # Option to download the blog post
44
  st.download_button(
45
+ label="Download Blog Post",
46
  data=generated_text,
47
+ file_name="generated_blog.md",
48
  mime="text/markdown"
49
  )