Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatic client #60

Closed
wants to merge 24 commits into from
Closed

Conversation

abrichr
Copy link

@abrichr abrichr commented Oct 30, 2024

Command-line usage:
    python client.py "http://<server_ip>:7861" "path/to/image.jpg"

Programmatic usage:
    from omniparse.client import predict, predict_and_save
    result = predict("http://<server_ip>:7861", "path/to/image.jpg")

@abrichr abrichr closed this Oct 30, 2024
@abrichr abrichr deleted the feat/deploy3 branch October 30, 2024 04:01
@abrichr
Copy link
Author

abrichr commented Oct 30, 2024

Moved to #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant