Skip to content

Commit

Permalink
Updated default command
Browse files Browse the repository at this point in the history
  • Loading branch information
drazendee committed Apr 7, 2021
1 parent 5a057c4 commit 6b53ed9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions valohai/internals/yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,12 @@ def generate_step(
config_step = Step(
name=step,
image=image,
command="python %s {parameters}" % relative_source_path,
command=[
"pip install -r requirements.txt",
"python %s {parameters}" % relative_source_path
],
)

config_step.command = [
"pip install -r requirements.txt",
"python %s {parameters}" % relative_source_path
]

for key, value in parameters.items():
config_step.parameters[key] = Parameter(
name=key,
Expand Down

0 comments on commit 6b53ed9

Please sign in to comment.