Skip to content

Commit

Permalink
Update run_localGPT.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PromtEngineer committed Jun 15, 2023
1 parent 8906385 commit 511142d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions run_localGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,13 @@ def load_model(device_type, model_id, model_basename=None):
)
@click.option(
"--show_sources",
default=False,
type=click.Choice(
[
False,
True,
]
),
"-s",
is_default=True,
help="Show sources along with answers (Default is False)",
)
def main(device_type, show_sources):
"""
This function implements the information retreival task.
This function implements the information retrieval task.
1. Loads an embedding model, can be HuggingFaceInstructEmbeddings or HuggingFaceEmbeddings
Expand Down

0 comments on commit 511142d

Please sign in to comment.