Spaces:
Paused
Paused
Commit
·
e357d06
1
Parent(s):
e063347
Update main.py
Browse files
main.py
CHANGED
|
@@ -62,6 +62,7 @@ async def answer(ws: WebSocket):
|
|
| 62 |
input = await ws.receive_text()
|
| 63 |
output = answerer(input, 32)
|
| 64 |
for el in output:
|
|
|
|
| 65 |
await ws.send_text(el)
|
| 66 |
|
| 67 |
await ws.close()
|
|
|
|
| 62 |
input = await ws.receive_text()
|
| 63 |
output = answerer(input, 32)
|
| 64 |
for el in output:
|
| 65 |
+
print(f"sent: '{el}'")
|
| 66 |
await ws.send_text(el)
|
| 67 |
|
| 68 |
await ws.close()
|