pvanand commited on
Commit
c7f72c9
·
verified ·
1 Parent(s): 172c927

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -80,7 +80,7 @@ async def execute_code(session_token: str, code: str):
80
  # Execute setup code
81
  kc.execute_interactive(setup_code, store_history=False)
82
  # Execute the provided code
83
- kc.execute_interactive(code, store_history=False)
84
 
85
  output = []
86
  timeout = datetime.now() + timedelta(seconds=TIMEOUT_DURATION)
 
80
  # Execute setup code
81
  kc.execute_interactive(setup_code, store_history=False)
82
  # Execute the provided code
83
+ kc.execute(code, store_history=False)
84
 
85
  output = []
86
  timeout = datetime.now() + timedelta(seconds=TIMEOUT_DURATION)