Spaces:
Sleeping
Sleeping
Update app.py (#2)
Browse files- Update app.py (4abe7390a58b21298a33ec1480e7798bade14a17)
Co-authored-by: vicky A <[email protected]>
app.py
CHANGED
@@ -55,7 +55,7 @@ if submit:
|
|
55 |
st.subheader("Generated Code:")
|
56 |
st.code(code, language='html')
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
55 |
st.subheader("Generated Code:")
|
56 |
st.code(code, language='html')
|
57 |
|
58 |
+
# Render the HTML Output with larger dimensions
|
59 |
+
if st.button("Render This Code"):
|
60 |
+
st.subheader("Rendered HTML Output:")
|
61 |
+
st.components.v1.html(code, height=1000, width=1500, scrolling=True)
|