awacke1 commited on
Commit
669349a
·
1 Parent(s): aee20a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -86,6 +86,7 @@ def create_file(filename, prompt, response, should_save=True):
86
 
87
  # Execute the cleaned Python code within the context
88
  try:
 
89
  exec(cleaned_code, context)
90
  code_output = sys.stdout.getvalue()
91
  combined_content += f"```\n{code_output}\n```\n\n"
 
86
 
87
  # Execute the cleaned Python code within the context
88
  try:
89
+ st.write('Executing code: ', cleaned_code)
90
  exec(cleaned_code, context)
91
  code_output = sys.stdout.getvalue()
92
  combined_content += f"```\n{code_output}\n```\n\n"