ThanhNguyenDuc commited on
Commit
5383bb9
·
verified ·
1 Parent(s): 3afb4c3
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -509,7 +509,7 @@ def run_code(file_path: str) -> str:
509
  ["python", resolved_path],
510
  capture_output=True,
511
  text=True,
512
- timeout=30 # Thời gian chờ 30 giây
513
  )
514
  output = result.stdout.strip()
515
  # Lọc chỉ giữ lại số từ output
 
509
  ["python", resolved_path],
510
  capture_output=True,
511
  text=True,
512
+ timeout=60 # Thời gian chờ 30 giây
513
  )
514
  output = result.stdout.strip()
515
  # Lọc chỉ giữ lại số từ output