Hyeonseo commited on
Commit
d77a2aa
·
1 Parent(s): 5da8554

Update presentation_assistant/presentation_assistant.py

Browse files
presentation_assistant/presentation_assistant.py CHANGED
@@ -73,7 +73,7 @@ def generate_text2ppt_input_prompt(input_type, input_value, input_pages):
73
 
74
  # Function to execute text2ppt
75
  def text2ppt(token_key, input_prompt, input_theme):
76
- reply = query({"inputs": "You are a kind helpful PPT designer.", input_prompt})
77
 
78
  reply = chat.choices[0].message.content
79
 
@@ -134,7 +134,7 @@ def ppt2script(token_key, input_file, input_type):
134
 
135
  input_prompt = header + text
136
 
137
- reply = query({"inputs": "You are a kind helpful PPT Assistant.", input_prompt})
138
 
139
  reply = chat.choices[0].message.content
140
 
 
73
 
74
  # Function to execute text2ppt
75
  def text2ppt(token_key, input_prompt, input_theme):
76
+ reply = query({"inputs": "You are a kind helpful PPT designer. "+input_prompt})
77
 
78
  reply = chat.choices[0].message.content
79
 
 
134
 
135
  input_prompt = header + text
136
 
137
+ reply = query({"inputs": "You are a kind helpful PPT Assistant."+input_prompt})
138
 
139
  reply = chat.choices[0].message.content
140