Spaces:
Sleeping
Sleeping
YasirAbdali
commited on
Commit
•
923db2d
1
Parent(s):
9ddd8ad
Update app.py
Browse files
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
|
41 |
st.markdown(generated_text)
|
42 |
|
43 |
# Option to download the blog post
|
44 |
st.download_button(
|
45 |
-
label="Download
|
46 |
data=generated_text,
|
47 |
-
file_name="
|
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 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 |
)
|