Spaces:
Running
Running
Luong Huu Thanh
commited on
Commit
·
11bec25
1
Parent(s):
189c173
Update code_interpreter.py
Browse files- code_interpreter.py +1 -1
code_interpreter.py
CHANGED
@@ -25,7 +25,7 @@ class CodeInterpreter:
|
|
25 |
"cmath", "uuid", "tempfile", "requests", "urllib"
|
26 |
]
|
27 |
self.max_execution_time = max_execution_time
|
28 |
-
self.working_directory = working_directory or os.path.join(os.getcwd()
|
29 |
if not os.path.exists(self.working_directory):
|
30 |
os.makedirs(self.working_directory)
|
31 |
|
|
|
25 |
"cmath", "uuid", "tempfile", "requests", "urllib"
|
26 |
]
|
27 |
self.max_execution_time = max_execution_time
|
28 |
+
self.working_directory = working_directory or os.path.join(os.getcwd())
|
29 |
if not os.path.exists(self.working_directory):
|
30 |
os.makedirs(self.working_directory)
|
31 |
|