Spaces:
Sleeping
Sleeping
Update app.py
#2
by
Mr-Vicky-01
- opened
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)
|