Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -252,7 +252,7 @@ async def test_websocket(websocket: WebSocket):
|
|
252 |
data_new[filename]=str(data[:10])
|
253 |
attachment_content = base64.urlsafe_b64decode(data.encode("UTF-8"))
|
254 |
logging.info(filename)
|
255 |
-
extracted_text = await extract_text_from_attachment(filename, data
|
256 |
logging.info(extracted_text)
|
257 |
await send_chunked_data(websocket, filename, data)
|
258 |
|
|
|
252 |
data_new[filename]=str(data[:10])
|
253 |
attachment_content = base64.urlsafe_b64decode(data.encode("UTF-8"))
|
254 |
logging.info(filename)
|
255 |
+
extracted_text = await extract_text_from_attachment(filename, data)
|
256 |
logging.info(extracted_text)
|
257 |
await send_chunked_data(websocket, filename, data)
|
258 |
|