Spaces:
Running
Running
Update test.py
Browse files
test.py
CHANGED
@@ -163,7 +163,7 @@ async def test_websocket(websocket: WebSocket):
|
|
163 |
print("Hi hi working")
|
164 |
# await websocket.send_json({"message":"Yes Websockets successfull"})
|
165 |
print("working after line 163")
|
166 |
-
data = websocket.receive_json()
|
167 |
print(data)
|
168 |
# code = data.get("message")
|
169 |
# print(code)
|
|
|
163 |
print("Hi hi working")
|
164 |
# await websocket.send_json({"message":"Yes Websockets successfull"})
|
165 |
print("working after line 163")
|
166 |
+
data = await websocket.receive_json()
|
167 |
print(data)
|
168 |
# code = data.get("message")
|
169 |
# print(code)
|