Spaces:
Runtime error
Runtime error
Commit
·
d346174
1
Parent(s):
7c30edd
Update app.py
Browse files
app.py
CHANGED
@@ -203,9 +203,10 @@ def main():
|
|
203 |
st.subheader('Error Correction')
|
204 |
formatter = PythonCodeFormatter(output_code)
|
205 |
formatted_code = formatter.format()
|
206 |
-
st.write('Code after correction:')
|
207 |
-
st.write(formatted_code)
|
208 |
-
|
|
|
209 |
|
210 |
|
211 |
|
|
|
203 |
st.subheader('Error Correction')
|
204 |
formatter = PythonCodeFormatter(output_code)
|
205 |
formatted_code = formatter.format()
|
206 |
+
#st.write('Code after correction:')
|
207 |
+
#st.write(formatted_code)
|
208 |
+
st.subheader('Code after correction:')
|
209 |
+
st.code(formatted_code, language='python')
|
210 |
|
211 |
|
212 |
|