Open denizsincar29 opened 8 months ago
Not yet - would you like to write one? 😄 I actually had a thought about this earlier this week.
@freddyaboulton well, haha, if serious, is it difficult to write one? or the api is simple enough?
@freddyaboulton well, if serious, how to interract via rest api or other ways?
Sorry I thought I had responded to this. I think we should write a "Gradio Client Library Guidelines" document to explain how to implement a client in language agnostic terms.
The main things are:
view_api
method.predict
vs submit
Internally the client would stream results from the sse endpoint. See the python function here
Hello, I've made the Gradio client in Rust according to @freddyaboulton's guidelines.
I've tested it with some HuggingFace Spaces such as stabilityai/stable-diffusion-3-medium
and hf-audio/whisper-large-v3
. I would like other Rust developers to test it out and give some feedbacks!
Wow very cool! Would love to amplify in our socials if that's ok
Hello. How to interface with huggingface spaces from rust language? I have searched the web but couldn't find any solution. Thank you.