adrianpierce commited on
Commit
e918768
1 Parent(s): e240d99

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +1 -1
Home.py CHANGED
@@ -117,7 +117,7 @@ def generate_recipe(user_inputs):
117
  prompt = create_detailed_prompt(user_inputs['user_direction'], user_inputs['exclusions'], user_inputs['serving_size'], user_inputs['difficulty'])
118
  messages = [{"role": "user", "content": prompt}]
119
  st.session_state.gpt_response = client.chat.completions.create(
120
- model="gpt-4-1106-preview",
121
  messages=messages,
122
  temperature=0.75,
123
  top_p=0.75,
 
117
  prompt = create_detailed_prompt(user_inputs['user_direction'], user_inputs['exclusions'], user_inputs['serving_size'], user_inputs['difficulty'])
118
  messages = [{"role": "user", "content": prompt}]
119
  st.session_state.gpt_response = client.chat.completions.create(
120
+ model="gpt-4o-mini",
121
  messages=messages,
122
  temperature=0.75,
123
  top_p=0.75,