adrianpierce commited on
Commit
eab646b
1 Parent(s): b7ee1cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,8 +74,8 @@ if st.session_state.gpt_response is not None:
74
  st.divider()
75
  loaded_recipe = json.loads(st.session_state.gpt_response['choices'][0]['message']['content'])
76
  st.header(loaded_recipe['recipe_name'])
77
- st.text(loaded_recipe['recipe_serving_size'])
78
- st.text(loaded_recipe['recipe_time'])
79
  st.subheader("Ingredients:")
80
  md_ingredients = ''
81
  for ingredient in loaded_recipe['recipe_ingredients']:
 
74
  st.divider()
75
  loaded_recipe = json.loads(st.session_state.gpt_response['choices'][0]['message']['content'])
76
  st.header(loaded_recipe['recipe_name'])
77
+ st.text(f'**Serving Size: {loaded_recipe['recipe_serving_size']}**')
78
+ st.text(f'**Time To Make: {loaded_recipe['recipe_time']}**')
79
  st.subheader("Ingredients:")
80
  md_ingredients = ''
81
  for ingredient in loaded_recipe['recipe_ingredients']: