mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Fix type of use_xmp_metadata to be bool, rather than str
This commit is contained in:
parent
9fb410fc25
commit
33bc62dc19
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ content-type:
|
|||
input-directory: "/data/images/"
|
||||
embeddings-file: "/data/generated/.image_embeddings.pt"
|
||||
batch-size: 50
|
||||
use-xmp-metadata: "no"
|
||||
use-xmp-metadata: true
|
||||
|
||||
music:
|
||||
input-files: null
|
||||
|
|
|
@ -15,7 +15,7 @@ content-type:
|
|||
input-directory: "tests/data"
|
||||
embeddings-file: "tests/data/.image_embeddings.pt"
|
||||
batch-size: 50
|
||||
use-xmp-metadata: "no"
|
||||
use-xmp-metadata: false
|
||||
|
||||
music:
|
||||
input-files: ["tests/data/music.org"]
|
||||
|
|
|
@ -20,7 +20,7 @@ class TextContentConfig(ConfigBase):
|
|||
embeddings_file: Optional[Path]
|
||||
|
||||
class ImageContentConfig(ConfigBase):
|
||||
use_xmp_metadata: Optional[str]
|
||||
use_xmp_metadata: Optional[bool]
|
||||
batch_size: Optional[int]
|
||||
input_directory: Optional[Path]
|
||||
input_filter: Optional[str]
|
||||
|
|
Loading…
Reference in a new issue