Spaces:
Runtime error
Runtime error
updates
Browse files
start.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
import subprocess
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
|
@@ -56,10 +57,8 @@ def start():
|
|
56 |
for command, cwd in commands:
|
57 |
run_command(command, cwd=cwd)
|
58 |
|
59 |
-
|
60 |
-
|
61 |
-
with open(os.path.join(olas_dir, "benchmark", "pyproject.toml"), "r") as f:
|
62 |
-
print(f.read())
|
63 |
|
64 |
# Download the dataset
|
65 |
download_dataset()
|
|
|
1 |
import os
|
2 |
+
import sys
|
3 |
import subprocess
|
4 |
from huggingface_hub import hf_hub_download
|
5 |
|
|
|
57 |
for command, cwd in commands:
|
58 |
run_command(command, cwd=cwd)
|
59 |
|
60 |
+
# add benchmark to the path
|
61 |
+
sys.path.append(os.path.join(olas_dir, "benchmark"))
|
|
|
|
|
62 |
|
63 |
# Download the dataset
|
64 |
download_dataset()
|