euracle commited on
Commit
f0f8674
·
verified ·
1 Parent(s): f6702aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -224,7 +224,7 @@ fallback_chain = LLMChain(llm=llm, prompt=fallback_prompt)
224
 
225
  chat_container = st.container()
226
 
227
- with st.form(key='query_form'):
228
  query = st.text_input("Ask your question:", value="", help=None)
229
  st.markdown(
230
  """
@@ -235,6 +235,15 @@ with st.form(key='query_form'):
235
  .stButton button {
236
  color: red !important;
237
  }
 
 
 
 
 
 
 
 
 
238
  </style>
239
  """,
240
  unsafe_allow_html=True
 
224
 
225
  chat_container = st.container()
226
 
227
+ with st.form(key='query_form', clear_on_submit=True):
228
  query = st.text_input("Ask your question:", value="", help=None)
229
  st.markdown(
230
  """
 
235
  .stButton button {
236
  color: red !important;
237
  }
238
+ .stButton button:hover {
239
+ color: red !important;
240
+ }
241
+ .stButton button:active {
242
+ color: red !important;
243
+ }
244
+ .stButton button:focus {
245
+ color: red !important;
246
+ }
247
  </style>
248
  """,
249
  unsafe_allow_html=True