nickmuchi commited on
Commit
301709a
1 Parent(s): 41971b6

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +2 -2
functions.py CHANGED
@@ -25,10 +25,10 @@ client = OpenAI()
25
 
26
  # return transcript
27
 
28
- def export_to_word(podcast_info):
29
  # Create a new Word document
30
  doc = Document()
31
- doc.add_heading(podcast_info['title'], 0)
32
 
33
  # Adding podcast summary
34
  p = doc.add_paragraph()
 
25
 
26
  # return transcript
27
 
28
+ def export_to_word(podcast_info,podcast_title):
29
  # Create a new Word document
30
  doc = Document()
31
+ doc.add_heading(podcast_title, 0)
32
 
33
  # Adding podcast summary
34
  p = doc.add_paragraph()