masadonline commited on
Commit
b1b1242
·
verified ·
1 Parent(s): 451cc18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -287,9 +287,9 @@ if not all([account_sid, auth_token, GROQ_API_KEY]):
287
 
288
  if all([account_sid, auth_token, GROQ_API_KEY]):
289
  os.environ["GROQ_API_KEY"] = GROQ_API_KEY
290
- client = Client(account_sid, auth_token)
291
-
292
- st.success("🟢 Monitoring new WhatsApp conversations...")
293
  index, model, chunks = setup_knowledge_base()
 
 
 
294
  threading.Thread(target=start_conversation_monitor, args=(client, index, model, chunks), daemon=True).start()
295
  st.info("⏳ Waiting for new messages...")
 
287
 
288
  if all([account_sid, auth_token, GROQ_API_KEY]):
289
  os.environ["GROQ_API_KEY"] = GROQ_API_KEY
 
 
 
290
  index, model, chunks = setup_knowledge_base()
291
+ st.success("Knowledge base loaded.")
292
+ st.success("🟢 Monitoring new WhatsApp conversations...")
293
+ client = Client(account_sid, auth_token)
294
  threading.Thread(target=start_conversation_monitor, args=(client, index, model, chunks), daemon=True).start()
295
  st.info("⏳ Waiting for new messages...")