Spaces:
Running
Running
adrianpierce
commited on
Commit
•
69fbcc9
1
Parent(s):
04b5566
Update app.py
Browse files
app.py
CHANGED
@@ -213,7 +213,7 @@ if st.session_state.gpt_response is not None:
|
|
213 |
recipe_md += f"{instruction['step_number']}. {instruction['instruction']} \n"
|
214 |
recipe['md'] = recipe_md
|
215 |
st.markdown(recipe_md)
|
216 |
-
st.button("Copy to Clipboard", on_click=on_copy_click, args=(recipe_md,))
|
217 |
# write to file
|
218 |
# filename = create_safe_filename(recipe["name"])
|
219 |
# with open(f"/data/generated/{filename}.json", "w") as f:
|
|
|
213 |
recipe_md += f"{instruction['step_number']}. {instruction['instruction']} \n"
|
214 |
recipe['md'] = recipe_md
|
215 |
st.markdown(recipe_md)
|
216 |
+
#st.button("Copy to Clipboard", on_click=on_copy_click, args=(recipe_md,))
|
217 |
# write to file
|
218 |
# filename = create_safe_filename(recipe["name"])
|
219 |
# with open(f"/data/generated/{filename}.json", "w") as f:
|