Spaces:
Sleeping
Sleeping
Clémentine
commited on
Commit
·
f176095
1
Parent(s):
e300e79
fix str(path)
Browse files- yourbench_space/utils.py +1 -1
yourbench_space/utils.py
CHANGED
@@ -128,7 +128,7 @@ class SubprocessManager:
|
|
128 |
self.path = pathlib.Path(f"/app/{session_uid}")
|
129 |
self.path.mkdir(parents=True, exist_ok=True)
|
130 |
self.config_path = pathlib.Path(f"/app/{session_uid}/config.yml")
|
131 |
-
self.command = ["uv", "run", "yourbench", f"--config", self.config_path]
|
132 |
self.process = None
|
133 |
self.output_stream = io.StringIO()
|
134 |
self.exit_code = None
|
|
|
128 |
self.path = pathlib.Path(f"/app/{session_uid}")
|
129 |
self.path.mkdir(parents=True, exist_ok=True)
|
130 |
self.config_path = pathlib.Path(f"/app/{session_uid}/config.yml")
|
131 |
+
self.command = ["uv", "run", "yourbench", f"--config", str(self.config_path)]
|
132 |
self.process = None
|
133 |
self.output_stream = io.StringIO()
|
134 |
self.exit_code = None
|