Skip to content

HTTP vs. gRPC and output handling #7889

Closed Answered by bacalfa
bacalfa asked this question in Q&A
Discussion options

You must be logged in to vote

As I suspected, it shouldn't matter which protocol. I realized I can just do the following:

generated_caption = response.as_numpy(output_name)[0].decode("UTF-8")

Perfect!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bacalfa
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