Update presentation_assistant/presentation_assistant.py
Browse files
presentation_assistant/presentation_assistant.py
CHANGED
@@ -86,9 +86,10 @@ def text2ppt(token_key, input_prompt, input_theme):
|
|
86 |
|
87 |
f = open("text2ppt_input.md", 'w')
|
88 |
for i in range(0, len(md_text_list)):
|
|
|
89 |
if md_text_list[i] and md_text_list[i][0] == "<":
|
90 |
data = "---" + "\n"
|
91 |
-
data = md_text_list[i] + "\n"
|
92 |
print(data)
|
93 |
f.write(data)
|
94 |
f.close()
|
|
|
86 |
|
87 |
f = open("text2ppt_input.md", 'w')
|
88 |
for i in range(0, len(md_text_list)):
|
89 |
+
data = ""
|
90 |
if md_text_list[i] and md_text_list[i][0] == "<":
|
91 |
data = "---" + "\n"
|
92 |
+
data = data + md_text_list[i] + "\n"
|
93 |
print(data)
|
94 |
f.write(data)
|
95 |
f.close()
|