Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ The editor supports syntax highlighting and autocompletion.
|
|
| 25 |
""")
|
| 26 |
|
| 27 |
# Create main layout with three columns
|
| 28 |
-
col1, col2
|
| 29 |
|
| 30 |
with col1:
|
| 31 |
# Code Editor Section
|
|
@@ -56,7 +56,7 @@ with col1:
|
|
| 56 |
if st.session_state.error_output:
|
| 57 |
st.error(st.session_state.error_output)
|
| 58 |
|
| 59 |
-
with col2
|
| 60 |
# AI Assistant Section (Always visible)
|
| 61 |
st.subheader("🤖 Code Assistant")
|
| 62 |
render_chatbot(code, st.session_state.code_output, st.session_state.error_output)
|
|
@@ -73,7 +73,7 @@ export_data = export_session(
|
|
| 73 |
)
|
| 74 |
|
| 75 |
# Export buttons in a more compact layout
|
| 76 |
-
col1_export, col2_export
|
| 77 |
|
| 78 |
with col1_export:
|
| 79 |
st.download_button(
|
|
|
|
| 25 |
""")
|
| 26 |
|
| 27 |
# Create main layout with three columns
|
| 28 |
+
col1, col2= st.columns([2, 1.5])
|
| 29 |
|
| 30 |
with col1:
|
| 31 |
# Code Editor Section
|
|
|
|
| 56 |
if st.session_state.error_output:
|
| 57 |
st.error(st.session_state.error_output)
|
| 58 |
|
| 59 |
+
with col2:
|
| 60 |
# AI Assistant Section (Always visible)
|
| 61 |
st.subheader("🤖 Code Assistant")
|
| 62 |
render_chatbot(code, st.session_state.code_output, st.session_state.error_output)
|
|
|
|
| 73 |
)
|
| 74 |
|
| 75 |
# Export buttons in a more compact layout
|
| 76 |
+
col1_export, col2_export= st.columns([2, 2])
|
| 77 |
|
| 78 |
with col1_export:
|
| 79 |
st.download_button(
|