Hyeonseo commited on
Commit
16bafd4
1 Parent(s): de06d7b

Update presentation_assistant/presentation_assistant.py

Browse files
presentation_assistant/presentation_assistant.py CHANGED
@@ -134,6 +134,6 @@ def ppt2script(token_key, input_file, input_type):
134
  input_prompt = header + text
135
 
136
  output = query({"inputs": "You are a kind helpful PPT Assistant."+input_prompt})
137
- reply = reply[0]['generated_text'][len("You are a kind helpful PPT Assistant."+input_prompt:]
138
 
139
  return reply
 
134
  input_prompt = header + text
135
 
136
  output = query({"inputs": "You are a kind helpful PPT Assistant."+input_prompt})
137
+ reply = reply[0]['generated_text'][len("You are a kind helpful PPT Assistant."+input_prompt):]
138
 
139
  return reply