Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -295,7 +295,7 @@ async def handle_user_input(websocket, process):
|
|
295 |
event = json.loads(message)
|
296 |
assert event["type"] == "cmd"
|
297 |
# command = event["command"]
|
298 |
-
print(event)
|
299 |
try:
|
300 |
if event["command"]["type"]=="shell":
|
301 |
process_input(event["command"]["command"], process)
|
|
|
295 |
event = json.loads(message)
|
296 |
assert event["type"] == "cmd"
|
297 |
# command = event["command"]
|
298 |
+
print(f'Received user input: {event}')
|
299 |
try:
|
300 |
if event["command"]["type"]=="shell":
|
301 |
process_input(event["command"]["command"], process)
|