Skip to content

Commit

Permalink
rename INPUT_TEXT environment variable to INPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
DevlinRocha committed Jan 29, 2025
1 parent 1e20094 commit 00dddeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"Entrypoint": ["python", "/workspace/src/run_inference.py"],
"WorkingDirectory": "/workspace",
"EnvironmentVariables": [
"INPUT_TEXT={{ js .input }}"
"INPUT={{ js .input }}"
],
"Image": "",
},
Expand Down
2 changes: 1 addition & 1 deletion src/create_lilypad_module/templates/scripts/run_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def run_module():
"docker",
"run",
"-e",
f"INPUT_TEXT={input}",
f"INPUT={input}",
"-v",
"$(pwd)/outputs:/outputs",
f"{DOCKER_REPO}:latest",
Expand Down

0 comments on commit 00dddeb

Please sign in to comment.