Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -53,7 +53,7 @@ def get_transcribe_podcast(rss_url, local_path='podcast/'):
|
|
53 |
|
54 |
with open(episode_name, 'wb') as f:
|
55 |
for chunk in r.iter_content(chunk_size=8192):
|
56 |
-
f.write(chunk)
|
57 |
|
58 |
st.info("Podcast Episode downloaded")
|
59 |
|
|
|
53 |
|
54 |
with open(episode_name, 'wb') as f:
|
55 |
for chunk in r.iter_content(chunk_size=8192):
|
56 |
+
f.write(chunk.getbuffer())
|
57 |
|
58 |
st.info("Podcast Episode downloaded")
|
59 |
|