Skip to content

CLI run bug #17

@stefanfrench

Description

@stefanfrench

Description

When I run: structured-qa --from_config "example_data/config.yaml"

I get this: The function received no value for the required argument: question Usage: structured-qa QUESTION <flags> optional flags: --input_file | --output_dir | --model | --find_prompt | --answer_prompt | --from_config

If I run: structured-qa \ --question "What learning rate was used?" \ --input_file "example_data/1706.03762v7.pdf" \ --output_folder "example_outputs/1706.03762v7.pdf"

I get TypeError: argument should be a str or an os.PathLike object where __fspath__ returns a str, not 'NoneType'

Reproduction

run structured-qa --from_config "example_data/config.yaml"

Relevant log output

Expected behavior

I would expect the CLI to run in both cases

System Info

OS

Have you searched for similar issues before submitting this one?

  • Yes, I have searched for similar issues

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions