Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

How to use allennlp predict command in subprocess #5730

Discussion options

You must be logged in to vote

Managed using subprocess.run(command.split(), capture_output=True, text=True) , with the allennlp command being stored as a string and referred to in this line of code.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by martina-dev-11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant