Spaces:
Running
Running
Commit
·
10b984e
1
Parent(s):
2605416
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,8 @@ async def run_code(websocket, path):
|
|
11 |
|
12 |
# Establish connection to external WebSocket server
|
13 |
async with websockets.connect('wss://ramesh-vani-wspython.hf.space') as web:
|
|
|
|
|
14 |
await web.send(code)
|
15 |
print("Code sent to external WebSocket server.")
|
16 |
|
|
|
11 |
|
12 |
# Establish connection to external WebSocket server
|
13 |
async with websockets.connect('wss://ramesh-vani-wspython.hf.space') as web:
|
14 |
+
print("Connection to external WebSocket server established.")
|
15 |
+
|
16 |
await web.send(code)
|
17 |
print("Code sent to external WebSocket server.")
|
18 |
|