Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -807,8 +807,9 @@ async def exe(websocket,connected,key,process_ids):
|
|
807 |
# print('in exe')
|
808 |
async for message in websocket:
|
809 |
# Parse a "play" event from the UI.
|
810 |
-
|
811 |
event = json.loads(message)
|
|
|
812 |
assert event["type"] == "cmd"
|
813 |
# command = event["command"]
|
814 |
print(event)
|
|
|
807 |
# print('in exe')
|
808 |
async for message in websocket:
|
809 |
# Parse a "play" event from the UI.
|
810 |
+
print(message)
|
811 |
event = json.loads(message)
|
812 |
+
print(event)
|
813 |
assert event["type"] == "cmd"
|
814 |
# command = event["command"]
|
815 |
print(event)
|