Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- 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(
|
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()
|