Spaces:
Runtime error
Runtime error
Commit
·
af4fbdf
1
Parent(s):
4d2c0f8
Update app.py
Browse files
app.py
CHANGED
@@ -216,5 +216,5 @@ if st.session_state.gpt_response is not None:
|
|
216 |
# st.button("📋", on_click=on_copy_click, args=(full_response,))
|
217 |
# write to file
|
218 |
filename = create_safe_filename(recipe["name"])
|
219 |
-
with open(f"generated/{filename}.json", 'w') as f:
|
220 |
json.dump(recipe, f)
|
|
|
216 |
# st.button("📋", on_click=on_copy_click, args=(full_response,))
|
217 |
# write to file
|
218 |
filename = create_safe_filename(recipe["name"])
|
219 |
+
with open(f"/generated/{filename}.json", 'w') as f:
|
220 |
json.dump(recipe, f)
|