Hyeonseo commited on
Commit
30c0cc0
·
1 Parent(s): 652010d

Update presentation_assistant/presentation_assistant.py

Browse files
presentation_assistant/presentation_assistant.py CHANGED
@@ -87,7 +87,7 @@ def text2ppt(token_key, input_prompt, input_theme):
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)
 
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 "<!--" in md_text_list[i]:
91
  data = "---" + "\n"
92
  data = data + md_text_list[i] + "\n"
93
  print(data)