akiko19191 commited on
Commit
2bfc584
·
verified ·
1 Parent(s): 202b86d

Update tests.py

Browse files
Files changed (1) hide show
  1. tests.py +6 -6
tests.py CHANGED
@@ -240,12 +240,12 @@ def run_code(python_packages:str,filename: str, code: str,start_cmd:str,forever_
240
  global files_list
241
  package_names = python_packages.strip()
242
  command="pip install"
243
- if not package_names:
244
- pass
245
- else:
246
- run(
247
- f"{command} --break-system-packages {package_names}", timeout_sec=300
248
- )
249
  global destination_dir
250
  download_all_files("https://opengpt-4ik5.onrender.com", "/upload", "/app/code_interpreter")
251
  transfer_files()
 
240
  global files_list
241
  package_names = python_packages.strip()
242
  command="pip install"
243
+ # if not package_names:
244
+ # pass
245
+ # else:
246
+ # run(
247
+ # f"{command} --break-system-packages {package_names}", timeout_sec=300
248
+ # )
249
  global destination_dir
250
  download_all_files("https://opengpt-4ik5.onrender.com", "/upload", "/app/code_interpreter")
251
  transfer_files()