Daniel Tse
commited on
Commit
·
e8acce3
1
Parent(s):
9bb604c
Add dereference to get the summary_text
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ if st.button("Process Audio File"):
|
|
| 100 |
##Summary of Text
|
| 101 |
"""
|
| 102 |
)
|
| 103 |
-
st.text(podcast_summary)
|
| 104 |
|
| 105 |
if st.button("Summarize Podcast"):
|
| 106 |
with open('transcription.txt', 'r') as file:
|
|
@@ -111,7 +111,7 @@ if st.button("Summarize Podcast"):
|
|
| 111 |
##Summary of Text
|
| 112 |
"""
|
| 113 |
)
|
| 114 |
-
st.text(podcast_summary)
|
| 115 |
|
| 116 |
#audio_file = st.file_uploader("Upload audio copy of file", key="upload", type=['.mp3'])
|
| 117 |
|
|
|
|
| 100 |
##Summary of Text
|
| 101 |
"""
|
| 102 |
)
|
| 103 |
+
st.text(podcast_summary['summary_text'])
|
| 104 |
|
| 105 |
if st.button("Summarize Podcast"):
|
| 106 |
with open('transcription.txt', 'r') as file:
|
|
|
|
| 111 |
##Summary of Text
|
| 112 |
"""
|
| 113 |
)
|
| 114 |
+
st.text(podcast_summary['summary_text'])
|
| 115 |
|
| 116 |
#audio_file = st.file_uploader("Upload audio copy of file", key="upload", type=['.mp3'])
|
| 117 |
|