jfataphd commited on
Commit
2bba935
·
1 Parent(s): 0916aa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -23,11 +23,26 @@ st.markdown(
23
  """,
24
  unsafe_allow_html=True
25
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  st.header(":white[My Streamlit App with HTML and CSS]")
27
  # Add some text to the app
28
  st.write(":white[**This is my Streamlit app with HTML and CSS formatting.**]")
29
 
30
- query = st.text_input(":white[**Enter a word**]")
 
31
  query = query.lower()
32
  # query = input ("Enter your keyword(s):")
33
 
 
23
  """,
24
  unsafe_allow_html=True
25
  )
26
+
27
+ st.markdown(
28
+ """
29
+ <style>
30
+ .stTextInput div label {
31
+ color: #ffffff !important;
32
+ }
33
+ .stTextInput div input[type="text"] {
34
+ color: #ffffff !important;
35
+ }
36
+ </style>
37
+ """,
38
+ unsafe_allow_html=True
39
+ )
40
  st.header(":white[My Streamlit App with HTML and CSS]")
41
  # Add some text to the app
42
  st.write(":white[**This is my Streamlit app with HTML and CSS formatting.**]")
43
 
44
+ text_input_value = st.text_input("Enter some text", "")
45
+ query = text_input_value
46
  query = query.lower()
47
  # query = input ("Enter your keyword(s):")
48