Boadiwaa commited on
Commit
b1098cd
·
verified ·
1 Parent(s): b3b30ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ client = OpenAI(api_key=api_key)
8
  def get_open_ai_output(recipe_titles):
9
  food = recipe_titles
10
  response=client.chat.completions.create(
11
- model="gpt-4-turbo-preview",
12
  messages=[{"role": "system", "content": f"""Suggest a recipe title based on the {food} item inputted,
13
  then acting as a cookbook give the full recipe for the title suggested, include ingredients and instructions"""}],
14
  temperature=0.98,
 
8
  def get_open_ai_output(recipe_titles):
9
  food = recipe_titles
10
  response=client.chat.completions.create(
11
+ model="gpt-3.5-turbo",
12
  messages=[{"role": "system", "content": f"""Suggest a recipe title based on the {food} item inputted,
13
  then acting as a cookbook give the full recipe for the title suggested, include ingredients and instructions"""}],
14
  temperature=0.98,