Update src/app.py
Browse files119 unmodified lines1201211221231231241251264 unmodified lines131132133134134135136137119 unmodified linesst.markdown("---")st.subheader("💬 Comments / Add New Shader")
comment_type = st.radio("Type", ["Normal Comment", "New Shader"])##comment_type = st.radio("Type", ["Normal Comment", "New Shader"])
with st.form("comment_form", clear_on_submit=True): user_name = st.text_input("Your name", "")4 unmodified lines new_comment = { "name": user_name or "Anonymous", "content": user_content, "type": "shader" if comment_type == "New Shader" else "comment" } comments.append(new_comment)
src/app.py+2-2