mitulagr2 commited on
Commit
f0efb24
1 Parent(s): 871bed6

Update main.py

Browse files
Files changed (1) hide show
  1. app/main.py +0 -1
app/main.py CHANGED
@@ -55,7 +55,6 @@ async def websocket_endpoint(websocket: WebSocket, client_id: int):
55
  if len(data) > 0:
56
  if not session_assistant.pdf_count > 0:
57
  message = {"time":current_time,"clientId":client_id,"message":"Please, add a PDF document first."}
58
- # await manager.broadcast(json.dumps(message))
59
  await manager.send_personal_message(json.dumps(message), websocket)
60
  else:
61
  print("FETCHING STREAM")
 
55
  if len(data) > 0:
56
  if not session_assistant.pdf_count > 0:
57
  message = {"time":current_time,"clientId":client_id,"message":"Please, add a PDF document first."}
 
58
  await manager.send_personal_message(json.dumps(message), websocket)
59
  else:
60
  print("FETCHING STREAM")