Spaces:
Running
Running
Commit
·
d0c372a
1
Parent(s):
745bbf9
Update app.py
Browse files
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.
|
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.
|
|
|
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'])
|