ShellyR00 commited on
Commit
7677b68
·
verified ·
1 Parent(s): 76863f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def generate_cocktail(mood, sweetness, sour, savory, bitter, flavor_association,
47
  messages=messages,
48
  max_tokens=1024)
49
  name, quote, ingredients, instruction, notes = extract_info(response.choices[0].message.content)
50
- return format_cocktail_output(name, quote, ingredients, instruction, notes), True
51
  except Exception as e:
52
  return f'<p style="color: white; font-size: 20px;">{str(e)}</p>'
53
 
 
47
  messages=messages,
48
  max_tokens=1024)
49
  name, quote, ingredients, instruction, notes = extract_info(response.choices[0].message.content)
50
+ return format_cocktail_output(name, quote, ingredients, instruction, notes), True, True
51
  except Exception as e:
52
  return f'<p style="color: white; font-size: 20px;">{str(e)}</p>'
53