Tonic commited on
Commit
b2af90b
1 Parent(s): 461ca35

Update maker.py

Browse files
Files changed (1) hide show
  1. maker.py +1 -1
maker.py CHANGED
@@ -113,7 +113,7 @@ def extract_title_prompt_example(text, title, system_prompt, example_input):
113
  return text, title, system_prompt, example_input
114
 
115
  def make_open_gpt(message, history, current_title, current_system_prompt, current_example_input):
116
- response = predict_beta(message, history, zephyr_system_prompt)
117
  response, title, system_prompt, example_input = extract_title_prompt_example(response, current_title, current_system_prompt, current_example_input)
118
  return "", history + [(message, response)], title, system_prompt, example_input, [(None, welcome_preview_message.format(title, example_input))], example_input, gr.Column(visible=True), gr.Group(visible=True)
119
 
 
113
  return text, title, system_prompt, example_input
114
 
115
  def make_open_gpt(message, history, current_title, current_system_prompt, current_example_input):
116
+ response = predict_beta(message, history, system_prompt)
117
  response, title, system_prompt, example_input = extract_title_prompt_example(response, current_title, current_system_prompt, current_example_input)
118
  return "", history + [(message, response)], title, system_prompt, example_input, [(None, welcome_preview_message.format(title, example_input))], example_input, gr.Column(visible=True), gr.Group(visible=True)
119