Spaces:
Sleeping
Sleeping
Update src/chat.py
Browse files- 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
|
| 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)
|