boryasbora commited on
Commit
d02ff36
·
verified ·
1 Parent(s): e757497

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -210,7 +210,6 @@ if prompt := st.chat_input("How may I assist you today?"):
210
  tab1, tab2 = st.tabs(["Answer", "Sources"])
211
  with tab1:
212
  with st.spinner("Generating answer..."):
213
- chain = get_chain(temperature)
214
  start_time = time.time()
215
  full_answer = chain.invoke({"question": query, "chat_history":st.session_state.messages})# Context is handled within the chain
216
  end_time = time.time()
 
210
  tab1, tab2 = st.tabs(["Answer", "Sources"])
211
  with tab1:
212
  with st.spinner("Generating answer..."):
 
213
  start_time = time.time()
214
  full_answer = chain.invoke({"question": query, "chat_history":st.session_state.messages})# Context is handled within the chain
215
  end_time = time.time()