Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -224,19 +224,22 @@ fallback_chain = LLMChain(llm=llm, prompt=fallback_prompt)
|
|
224 |
|
225 |
chat_container = st.container()
|
226 |
|
227 |
-
st.markdown("""
|
228 |
-
<style>
|
229 |
-
.stButton>button {
|
230 |
-
color: black !important;
|
231 |
-
background-color: yellow !important;
|
232 |
-
}
|
233 |
-
</style>
|
234 |
-
""", unsafe_allow_html=True)
|
235 |
-
|
236 |
with st.form(key='query_form'):
|
237 |
-
query = st.text_input("Ask your question:", value="")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
submit_button = st.form_submit_button(label='Submit')
|
239 |
-
|
240 |
end_time = time.time()
|
241 |
#print(f"Setting up retrieval chain took {end_time - start_time:.4f} seconds")
|
242 |
start_time = time.time()
|
|
|
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 |
+
"""
|
231 |
+
<style>
|
232 |
+
.stTextInput label {
|
233 |
+
color: white !important;
|
234 |
+
}
|
235 |
+
.stButton button {
|
236 |
+
color: red !important;
|
237 |
+
}
|
238 |
+
</style>
|
239 |
+
""",
|
240 |
+
unsafe_allow_html=True
|
241 |
+
)
|
242 |
submit_button = st.form_submit_button(label='Submit')
|
|
|
243 |
end_time = time.time()
|
244 |
#print(f"Setting up retrieval chain took {end_time - start_time:.4f} seconds")
|
245 |
start_time = time.time()
|