Update app.py
Browse files
app.py
CHANGED
|
@@ -128,11 +128,9 @@ if st.button("Generate Code"):
|
|
| 128 |
st.success("Code generated successfully!")
|
| 129 |
|
| 130 |
st.markdown('<div class="output-container">', unsafe_allow_html=True)
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
st.code(block)
|
| 135 |
-
st.markdown('</div>', unsafe_allow_html=True)
|
| 136 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 137 |
|
| 138 |
st.markdown("""
|
|
|
|
| 128 |
st.success("Code generated successfully!")
|
| 129 |
|
| 130 |
st.markdown('<div class="output-container">', unsafe_allow_html=True)
|
| 131 |
+
st.markdown('<div class="code-block">', unsafe_allow_html=True)
|
| 132 |
+
st.code(completed_text)
|
| 133 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
|
|
|
|
|
|
| 134 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 135 |
|
| 136 |
st.markdown("""
|