Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -209,8 +209,8 @@ def start_conversation_monitor(client, index, embed_model, text_chunks):
|
|
209 |
|
210 |
def poll_convo(convo_sid):
|
211 |
while True:
|
212 |
-
latest_msg = fetch_latest_incoming_message(client, convo_sid)
|
213 |
print(f"Twilio SID: {convo_sid}")
|
|
|
214 |
if latest_msg:
|
215 |
msg_time = latest_msg["timestamp"]
|
216 |
print(f"msg_time: {msg_time}")
|
|
|
209 |
|
210 |
def poll_convo(convo_sid):
|
211 |
while True:
|
|
|
212 |
print(f"Twilio SID: {convo_sid}")
|
213 |
+
latest_msg = fetch_latest_incoming_message(client, convo_sid)
|
214 |
if latest_msg:
|
215 |
msg_time = latest_msg["timestamp"]
|
216 |
print(f"msg_time: {msg_time}")
|