Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,7 +129,7 @@ if st.button("Run"):
|
|
| 129 |
|
| 130 |
# Code Editor Interface
|
| 131 |
st.header("Code Editor")
|
| 132 |
-
code_editor = st.
|
| 133 |
if st.button("Format & Lint"):
|
| 134 |
formatted_code, lint_message = code_editor_interface(code_editor)
|
| 135 |
st.code(formatted_code, language="python")
|
|
|
|
| 129 |
|
| 130 |
# Code Editor Interface
|
| 131 |
st.header("Code Editor")
|
| 132 |
+
code_editor = st.text_area("Write your code:", language="python", height=300)
|
| 133 |
if st.button("Format & Lint"):
|
| 134 |
formatted_code, lint_message = code_editor_interface(code_editor)
|
| 135 |
st.code(formatted_code, language="python")
|