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

Update app.py

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