Spaces:
Running
Running
Commit
·
745bbf9
1
Parent(s):
ad24c4b
Update app.py
Browse files
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 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
except:
|
162 |
-
|
|
|
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'])
|