mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-04 05:39:06 +00:00
Use input filter in image search setup. Input filter wasn't used earlier
This commit is contained in:
@@ -293,14 +293,14 @@ def run():
|
||||
global config_file
|
||||
config_file = args.config_file
|
||||
|
||||
# Store the verbose flag
|
||||
global verbose
|
||||
verbose = args.verbose
|
||||
|
||||
# Store the raw config data.
|
||||
global config
|
||||
config = args.config
|
||||
|
||||
# Store the verbose flag
|
||||
global verbose
|
||||
verbose = args.verbose
|
||||
|
||||
# Set device to GPU if available
|
||||
device = torch.device("cuda:0") if torch.cuda.is_available() else torch.device("cpu")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user