Skip to content

Commit

Permalink
ask for hwacc mode instead of cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrax-10 committed Feb 15, 2024
1 parent a38b45d commit fd1481b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/commander.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ def pathCompleter(text, state):
input_compression = input(colored(f"Compression mode (fast/slow/veryslow) ({colored(default_compression, "yellow")}{f"{colored("): ", "blue")}"}", "blue")).strip()
args.compression = input_compression.lower() if input_compression != "" else default_compression

input_cuda = input(colored(f"Use cuda cores (Nvidia GPUs only) ({colored("false", "yellow")}{f"{colored("): ", "blue")}"}", "blue")).strip()
args.cuda = True if input_cuda == "true" else False
input_hwacc = input(colored(f"Hardware acceleration (false/cuda) ({colored("false", "yellow")}{f"{colored("): ", "blue")}"}", "blue")).strip()
args.cuda = True if input_hwacc == "cuda" else False

os.system('cls')
except Exception as err:
Expand Down

0 comments on commit fd1481b

Please sign in to comment.