Spaces:
Paused
Paused
Commit
·
db8f766
1
Parent(s):
4d1bf6e
Update main.py
Browse files
main.py
CHANGED
@@ -63,9 +63,9 @@ async def answer(ws: WebSocket):
|
|
63 |
|
64 |
print("ws connected!")
|
65 |
|
66 |
-
|
67 |
print(f"sent: '{output}'")
|
68 |
-
await ws.send_text(output)
|
69 |
|
70 |
input = await ws.receive_text()
|
71 |
answerer_thread = Thread(
|
|
|
63 |
|
64 |
print("ws connected!")
|
65 |
|
66 |
+
def callback(output: str):
|
67 |
print(f"sent: '{output}'")
|
68 |
+
# await ws.send_text(output)
|
69 |
|
70 |
input = await ws.receive_text()
|
71 |
answerer_thread = Thread(
|