Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -106,6 +106,10 @@ async def execute_code(session_token: str, code: str):
|
|
106 |
output.append({"text": msg['content']['text']})
|
107 |
|
108 |
last_access_times[session_token] = datetime.now()
|
|
|
|
|
|
|
|
|
109 |
return {'status': 'success', 'value': output}
|
110 |
|
111 |
except Exception as e:
|
|
|
106 |
output.append({"text": msg['content']['text']})
|
107 |
|
108 |
last_access_times[session_token] = datetime.now()
|
109 |
+
print("Execution SUCCESS")
|
110 |
+
print("#################")
|
111 |
+
print("CODE:",code)
|
112 |
+
print("OUTPUT:",output)
|
113 |
return {'status': 'success', 'value': output}
|
114 |
|
115 |
except Exception as e:
|