masadonline commited on
Commit
4c9633a
·
verified ·
1 Parent(s): 8a14cdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -143,7 +143,7 @@ def start_conversation_monitor(client, index, embed_model, text_chunks):
143
  last_msg_index = {}
144
  monitored_sids = set()
145
 
146
- def poll_conversation(convo_sid):
147
  last_processed_timestamp = None
148
  while True:
149
  try:
@@ -165,6 +165,7 @@ def start_conversation_monitor(client, index, embed_model, text_chunks):
165
  time.sleep(5)
166
 
167
 
 
168
  def monitor_all_conversations():
169
  while True:
170
  try:
 
143
  last_msg_index = {}
144
  monitored_sids = set()
145
 
146
+ def poll_conversation(convo_sid):
147
  last_processed_timestamp = None
148
  while True:
149
  try:
 
165
  time.sleep(5)
166
 
167
 
168
+
169
  def monitor_all_conversations():
170
  while True:
171
  try: