suriya7 commited on
Commit
4b9e252
·
verified ·
1 Parent(s): 222268a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -56,5 +56,6 @@ if submit:
56
  st.code(code, language='html')
57
 
58
  # Render the HTML Output with larger dimensions
59
- st.subheader("Rendered HTML Output:")
60
- st.components.v1.html(code, height=800, width=1200, scrolling=True)
 
 
56
  st.code(code, language='html')
57
 
58
  # Render the HTML Output with larger dimensions
59
+ if st.button("Render This Code In Html"):
60
+ st.subheader("Rendered HTML Output:")
61
+ st.components.v1.html(code, height=1000, width=1500, scrolling=True)