pvanand commited on
Commit
398aecd
·
verified ·
1 Parent(s): 3a36127

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -43,6 +43,7 @@ async def create_kernel(session_token: str):
43
  session_dir = os.path.join(root_dir, "output", session_token)
44
  if not os.path.exists(session_dir):
45
  os.makedirs(session_dir)
 
46
 
47
  km = KernelManager()
48
  km.start_kernel()
 
43
  session_dir = os.path.join(root_dir, "output", session_token)
44
  if not os.path.exists(session_dir):
45
  os.makedirs(session_dir)
46
+ os.chmod(session_dir, 0o777)
47
 
48
  km = KernelManager()
49
  km.start_kernel()