nafisehNik commited on
Commit
c2d8cf6
·
1 Parent(s): e5e710a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -3
app.py CHANGED
@@ -89,9 +89,18 @@ with st.sidebar:
89
 
90
  in_name = st.text_input("Name Metadata: ", placeholder="e.g., Bug Report or Feqture Request or Question", on_change=None)
91
  in_about = st.text_input("About Metadata: ", placeholder="e.g., File a bug report", on_change=None)
92
- in_title = st.text_input("Title Metadata: ", placeholder="e.g., [Bug]: ", on_change=None)
93
- in_labels = st.text_input("Labels Metadata: ", placeholder="e.g., feature, enhancement", on_change=None)
94
- in_assignees = st.text_input("Assignees Metadata: ", placeholder="e.g., USER_1, USER_2", on_change=None)
 
 
 
 
 
 
 
 
 
95
 
96
  # if no headlines is selected, force the headlines to be empty as well.
97
  in_headline_type = st.selectbox(
 
89
 
90
  in_name = st.text_input("Name Metadata: ", placeholder="e.g., Bug Report or Feqture Request or Question", on_change=None)
91
  in_about = st.text_input("About Metadata: ", placeholder="e.g., File a bug report", on_change=None)
92
+
93
+ empty_title = st.checkbox('without title')
94
+ if empty_title == False:
95
+ in_title = st.text_input("Title Metadata: ", placeholder="e.g., [Bug]: ", on_change=None)
96
+
97
+ empty_labels = st.checkbox('without labels')
98
+ if empty_labels == False:
99
+ in_labels = st.text_input("Labels Metadata: ", placeholder="e.g., feature, enhancement", on_change=None)
100
+
101
+ empty_assignees = st.checkbox('without Assignees')
102
+ if empty_labels == False:
103
+ in_assignees = st.text_input("Assignees Metadata: ", placeholder="e.g., USER_1, USER_2", on_change=None)
104
 
105
  # if no headlines is selected, force the headlines to be empty as well.
106
  in_headline_type = st.selectbox(