awacke1 commited on
Commit
a748c00
·
1 Parent(s): 0312f51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -137,6 +137,9 @@ def create_file(filename, prompt, response, should_save=True):
137
  exec(cleaned_code)
138
  code_output = sys.stdout.getvalue()
139
  combined_content += f"```\n{code_output}\n```\n\n"
 
 
 
140
  except Exception as e:
141
  combined_content += f"```python\nError executing Python code: {e}\n```\n\n"
142
 
 
137
  exec(cleaned_code)
138
  code_output = sys.stdout.getvalue()
139
  combined_content += f"```\n{code_output}\n```\n\n"
140
+ realtimeEvalResponse = "# Code Results 🚀\n" + "```" + code_output + "```\n\n"
141
+ st.write(realtimeEvalResponse)
142
+
143
  except Exception as e:
144
  combined_content += f"```python\nError executing Python code: {e}\n```\n\n"
145