adrianpierce commited on
Commit
d0c372a
1 Parent(s): 745bbf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -151,7 +151,7 @@ if st.session_state.gpt_response is not None:
151
  md_ingredients += "- " + ingredient + "\n"
152
  st.markdown(md_ingredients)
153
  except:
154
- st.text(loaded_recipe['ingredients'])
155
  st.subheader("Instructions:")
156
  # try:
157
  # md_instructions = ''
@@ -159,4 +159,4 @@ if st.session_state.gpt_response is not None:
159
  # md_instructions += "- " + instruction + "\n"
160
  # st.markdown(md_instructions)
161
  # except:
162
- st.text(loaded_recipe['instructions'])
 
151
  md_ingredients += "- " + ingredient + "\n"
152
  st.markdown(md_ingredients)
153
  except:
154
+ st.write(loaded_recipe['ingredients'])
155
  st.subheader("Instructions:")
156
  # try:
157
  # md_instructions = ''
 
159
  # md_instructions += "- " + instruction + "\n"
160
  # st.markdown(md_instructions)
161
  # except:
162
+ st.write(loaded_recipe['instructions'])