SuhasGholkar commited on
Commit
09ffaee
·
verified ·
1 Parent(s): f18c5a3

Update src/chat.py

Browse files
Files changed (1) hide show
  1. src/chat.py +1 -1
src/chat.py CHANGED
@@ -569,7 +569,7 @@ def render_chat_tab(conn):
569
  # ---------- On submit: run intent/SQL pipeline ----------
570
  if st.button("Submit"):
571
  user_text = ss.user_input.strip()
572
- if text:
573
  start_time = time.time()
574
  current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
575
  #Translate to English if needed (Hindi input)
 
569
  # ---------- On submit: run intent/SQL pipeline ----------
570
  if st.button("Submit"):
571
  user_text = ss.user_input.strip()
572
+ if user_text:
573
  start_time = time.time()
574
  current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
575
  #Translate to English if needed (Hindi input)