Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -196,11 +196,8 @@ def run_unirig_command(python_script_path: str, script_args: List[str], step_nam
|
|
196 |
print(f"Subprocess LD_LIBRARY_PATH: {process_env['LD_LIBRARY_PATH']}")
|
197 |
|
198 |
# Test import of 'src' module
|
199 |
-
test_cmd = [
|
200 |
-
|
201 |
-
"--background",
|
202 |
-
"--python", "-c", "import src; print('src module imported successfully')"
|
203 |
-
]
|
204 |
test_result = subprocess.run(
|
205 |
test_cmd,
|
206 |
cwd=UNIRIG_REPO_DIR,
|
|
|
196 |
print(f"Subprocess LD_LIBRARY_PATH: {process_env['LD_LIBRARY_PATH']}")
|
197 |
|
198 |
# Test import of 'src' module
|
199 |
+
test_cmd = [blender_executable_to_use, "--background", "--python", "-c", "import src; print('src module imported successfully')"]
|
200 |
+
|
|
|
|
|
|
|
201 |
test_result = subprocess.run(
|
202 |
test_cmd,
|
203 |
cwd=UNIRIG_REPO_DIR,
|