Update presentation_assistant/presentation_assistant.py
Browse files
presentation_assistant/presentation_assistant.py
CHANGED
@@ -75,6 +75,7 @@ def generate_text2ppt_input_prompt(input_type, input_value, input_pages):
|
|
75 |
def text2ppt(token_key, input_prompt, input_theme):
|
76 |
reply = query({"inputs": "You are a kind helpful PPT designer. "+input_prompt})
|
77 |
|
|
|
78 |
md_text = reply[4:] if reply[:3] == "---" else reply
|
79 |
md_text_list = md_text.split('\n')
|
80 |
|
|
|
75 |
def text2ppt(token_key, input_prompt, input_theme):
|
76 |
reply = query({"inputs": "You are a kind helpful PPT designer. "+input_prompt})
|
77 |
|
78 |
+
print(reply)
|
79 |
md_text = reply[4:] if reply[:3] == "---" else reply
|
80 |
md_text_list = md_text.split('\n')
|
81 |
|