Spaces:
Running
Running
Update ui.py
Browse files
ui.py
CHANGED
@@ -9,7 +9,7 @@ tok = os.getenv("TOK")
|
|
9 |
|
10 |
|
11 |
|
12 |
-
st_autorefresh(interval=10000, key="volter")
|
13 |
|
14 |
st.write(tok)
|
15 |
def Target_Identification(userinput):
|
@@ -117,7 +117,13 @@ def APP():
|
|
117 |
projectname = None
|
118 |
|
119 |
if len(projects) > 0:
|
120 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
else:
|
122 |
projectname = st.text_input("Enter project name:")
|
123 |
|
|
|
9 |
|
10 |
|
11 |
|
12 |
+
#st_autorefresh(interval=10000, key="volter")
|
13 |
|
14 |
st.write(tok)
|
15 |
def Target_Identification(userinput):
|
|
|
117 |
projectname = None
|
118 |
|
119 |
if len(projects) > 0:
|
120 |
+
agree = st.checkbox("new project ?")
|
121 |
+
if agree:
|
122 |
+
projectname = st.selectbox("Select Project", projects)
|
123 |
+
projectname = st.text_input("Enter project name:")
|
124 |
+
else:
|
125 |
+
projectname = st.selectbox("Select Project", projects)
|
126 |
+
|
127 |
else:
|
128 |
projectname = st.text_input("Enter project name:")
|
129 |
|