Spaces:
Sleeping
Sleeping
Update src/app.py
Browse files- src/app.py +2 -2
src/app.py
CHANGED
|
@@ -120,7 +120,7 @@ st.components.v1.html(html_code, height=520)
|
|
| 120 |
st.markdown("---")
|
| 121 |
st.subheader("💬 Comments / Add New Shader")
|
| 122 |
|
| 123 |
-
comment_type = st.radio("Type", ["Normal Comment", "New Shader"])
|
| 124 |
|
| 125 |
with st.form("comment_form", clear_on_submit=True):
|
| 126 |
user_name = st.text_input("Your name", "")
|
|
@@ -131,7 +131,7 @@ with st.form("comment_form", clear_on_submit=True):
|
|
| 131 |
new_comment = {
|
| 132 |
"name": user_name or "Anonymous",
|
| 133 |
"content": user_content,
|
| 134 |
-
|
| 135 |
}
|
| 136 |
comments.append(new_comment)
|
| 137 |
|
|
|
|
| 120 |
st.markdown("---")
|
| 121 |
st.subheader("💬 Comments / Add New Shader")
|
| 122 |
|
| 123 |
+
##comment_type = st.radio("Type", ["Normal Comment", "New Shader"])
|
| 124 |
|
| 125 |
with st.form("comment_form", clear_on_submit=True):
|
| 126 |
user_name = st.text_input("Your name", "")
|
|
|
|
| 131 |
new_comment = {
|
| 132 |
"name": user_name or "Anonymous",
|
| 133 |
"content": user_content,
|
| 134 |
+
|
| 135 |
}
|
| 136 |
comments.append(new_comment)
|
| 137 |
|