mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 20:55:09 +01:00
Revert part of PR
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
# list all folders in benchmark folder
|
# list all folders in benchmark folder
|
||||||
# for each folder, run the benchmark
|
# for each folder, run the benchmark
|
||||||
|
import contextlib
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
|
||||||
|
|
||||||
from itertools import islice
|
from itertools import islice
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
@@ -60,7 +59,7 @@ def main(
|
|||||||
print(f.read())
|
print(f.read())
|
||||||
print()
|
print()
|
||||||
|
|
||||||
try:
|
with contextlib.suppress(KeyboardInterrupt):
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[
|
[
|
||||||
"python",
|
"python",
|
||||||
@@ -71,8 +70,6 @@ def main(
|
|||||||
"evaluate",
|
"evaluate",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
except KeyboardInterrupt:
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user