Spaces:
Running
Running
Update ui.py
Browse files
ui.py
CHANGED
@@ -62,18 +62,25 @@ def APP():
|
|
62 |
#match selection:
|
63 |
if selection == 0:
|
64 |
st.markdown("<p style='color:white;background-color:orange;font-weight:bold'> Nanobody [CANCER targeted]</p>",unsafe_allow_html=True)
|
65 |
-
st.
|
|
|
66 |
|
67 |
with st.form("bio",border=False):
|
68 |
|
69 |
uid=None
|
70 |
project_name=None
|
71 |
-
|
72 |
-
|
|
|
|
|
73 |
uid=st.text_input("enter username")
|
74 |
project_name=st.text_input("enter project name ")
|
75 |
|
|
|
|
|
|
|
76 |
|
|
|
77 |
if not uid or not project_name:
|
78 |
st.markdown(":orange-badge[⚠️ Set Username and Projectname]")
|
79 |
|
@@ -118,7 +125,8 @@ def APP():
|
|
118 |
|
119 |
if selection == 1:
|
120 |
st.markdown("<p style='color:white;background-color:orange;font-weight:bold'>Vaccine [Supported] </p>",unsafe_allow_html=True)
|
121 |
-
st.
|
|
|
122 |
st.code("coming soon")
|
123 |
|
124 |
if selection ==2:
|
|
|
62 |
#match selection:
|
63 |
if selection == 0:
|
64 |
st.markdown("<p style='color:white;background-color:orange;font-weight:bold'> Nanobody [CANCER targeted]</p>",unsafe_allow_html=True)
|
65 |
+
with st.expander("info"):
|
66 |
+
st.info("This Interface lets u specify a high level biological query (Protein Engineering Query) and execute the pipeline for the end product i.e Engineered Nanobody",icon=":material/info:")
|
67 |
|
68 |
with st.form("bio",border=False):
|
69 |
|
70 |
uid=None
|
71 |
project_name=None
|
72 |
+
|
73 |
+
@st.dialog("set Username and Projectname")
|
74 |
+
def setup():
|
75 |
+
#with st.expander("setup",icon=":material/settings:"):
|
76 |
uid=st.text_input("enter username")
|
77 |
project_name=st.text_input("enter project name ")
|
78 |
|
79 |
+
st.markdown(":material/settings:")
|
80 |
+
if st.button("setup"):
|
81 |
+
setup()
|
82 |
|
83 |
+
|
84 |
if not uid or not project_name:
|
85 |
st.markdown(":orange-badge[⚠️ Set Username and Projectname]")
|
86 |
|
|
|
125 |
|
126 |
if selection == 1:
|
127 |
st.markdown("<p style='color:white;background-color:orange;font-weight:bold'>Vaccine [Supported] </p>",unsafe_allow_html=True)
|
128 |
+
with st.expander("info"):
|
129 |
+
st.info("This Interface lets u specify a high level biological query and execute the pipeline for the end product i.e Vaccine",icon=":material/info:")
|
130 |
st.code("coming soon")
|
131 |
|
132 |
if selection ==2:
|