suriya7 Mr-Vicky-01 commited on
Commit
44c0f9c
·
verified ·
1 Parent(s): 4b9e252

Update app.py (#2)

Browse files

- Update app.py (4abe7390a58b21298a33ec1480e7798bade14a17)


Co-authored-by: vicky A <[email protected]>

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -55,7 +55,7 @@ if submit:
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 In Html"):
60
- st.subheader("Rendered HTML Output:")
61
- st.components.v1.html(code, height=1000, width=1500, scrolling=True)
 
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)