Daniel Tse
commited on
Commit
·
2b98878
1
Parent(s):
4125ee2
fix variable name
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ if st.button("Process Audio File"):
|
|
67 |
|
68 |
if st.button("Summarize Podcast"):
|
69 |
with open('transcription.txt', 'r') as file:
|
70 |
-
|
71 |
podcast_summary = summarize_podcast(podcast_text)
|
72 |
st.markdown(
|
73 |
"""
|
|
|
67 |
|
68 |
if st.button("Summarize Podcast"):
|
69 |
with open('transcription.txt', 'r') as file:
|
70 |
+
podcast_text = file.read().rstrip()
|
71 |
podcast_summary = summarize_podcast(podcast_text)
|
72 |
st.markdown(
|
73 |
"""
|