Omkar008 commited on
Commit
dd242fc
1 Parent(s): 0b06f94

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -254,7 +254,7 @@ async def test_websocket(websocket: WebSocket):
254
  data_new[filename]=str(data[:10])
255
  attachment_content = base64.urlsafe_b64decode(data.encode("UTF-8"))
256
  logging.info(filename)
257
- extracted_text = await extract_text_from_attachment(filename, data)
258
  logging.info(extracted_text)
259
  await send_chunked_data(websocket, filename, data)
260
 
 
254
  data_new[filename]=str(data[:10])
255
  attachment_content = base64.urlsafe_b64decode(data.encode("UTF-8"))
256
  logging.info(filename)
257
+ extracted_text = await extract_text_from_attachment(filename, attachment_content)
258
  logging.info(extracted_text)
259
  await send_chunked_data(websocket, filename, data)
260