adrianpierce commited on
Commit
2610228
β€’
1 Parent(s): 4a68d1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -212,7 +212,7 @@ if st.session_state.gpt_response is not None:
212
  recipe_md += f"{instruction['step_number']}. {instruction['instruction']} \n"
213
  recipe['md'] = recipe_md
214
  st.markdown(recipe_md)
215
- # st.button("πŸ“‹", on_click=on_copy_click, args=(full_response,))
216
  # write to file
217
  # filename = create_safe_filename(recipe["name"])
218
  # with open(f"/data/generated/{filename}.json", "w") as f:
 
212
  recipe_md += f"{instruction['step_number']}. {instruction['instruction']} \n"
213
  recipe['md'] = recipe_md
214
  st.markdown(recipe_md)
215
+ st.button("πŸ“‹", on_click=on_copy_click, args=(recipe_md,))
216
  # write to file
217
  # filename = create_safe_filename(recipe["name"])
218
  # with open(f"/data/generated/{filename}.json", "w") as f: