Skip to content

Commit

Permalink
No need for debug command
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonjchen committed Sep 9, 2023
1 parent 8c6e591 commit 93d574c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def predict(
speedhackRatio: float = Input(
description="Speedhack ratio", ge=0.2, le=3.0, default=1.5
),
debugCommand: str = Input(
description="Debug command to run instead of clip", default=""
),
# debugCommand: str = Input(
# description="Debug command to run instead of clip", default=""
# ),
) -> Path:
"""Run clip.sh with arguments."""

Expand All @@ -46,9 +46,9 @@ def predict(
f"--nv-direct-encoding",
f"--output=cog-clip.mp4",
]
if debugCommand != "":
# Run bash with the command
command = ["bash", "-c", debugCommand]
# if debugCommand != "":
# # Run bash with the command
# command = ["bash", "-c", debugCommand]
env = {}
env.update(os.environ)
env.update({
Expand Down

0 comments on commit 93d574c

Please sign in to comment.