Junaidb commited on
Commit
079b71c
·
verified ·
1 Parent(s): b7e20f0

Update pages/biolab.py

Browse files
Files changed (1) hide show
  1. pages/biolab.py +26 -5
pages/biolab.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
-
3
 
4
 
5
 
@@ -99,15 +99,36 @@ def APP():
99
 
100
 
101
 
102
- def SHOWTABS():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  with tab1:
104
 
105
- console_container = st.container(height=150, border=True)
106
-
107
  with console_container:
108
  st.code(">>> System Online...", language="bash") # Use st.code for a console look
109
 
110
- user_input = st.text_input(
111
  "Protein Engineering Query",
112
  placeholder="Type your query here."
113
  )
 
1
  import streamlit as st
2
+ import streamlit.components.v1 as components
3
 
4
 
5
 
 
99
 
100
 
101
 
102
+ def SHOWTABS():
103
+
104
+
105
+ st.markdown("""
106
+ <style>
107
+ @keyframes blink {
108
+ 0% { opacity: 1; }
109
+ 50% { opacity: 0; }
110
+ 100% { opacity: 1; }
111
+ }
112
+
113
+ .blinking-text {
114
+ animation: blink 2s infinite;
115
+ font-size: 24px;
116
+ font-weight: bold;
117
+ color: red;
118
+ }
119
+ </style>
120
+ """, unsafe_allow_html=True)
121
+
122
+ st.markdown('<div class="blinking-text"> 🚨CAUTION ! </div>', unsafe_allow_html=True)
123
+
124
  with tab1:
125
 
126
+ console_container = st.container(height=150, border=False)
127
+
128
  with console_container:
129
  st.code(">>> System Online...", language="bash") # Use st.code for a console look
130
 
131
+ user_input = st.text_area(
132
  "Protein Engineering Query",
133
  placeholder="Type your query here."
134
  )