HF API - Parameters like negative_prompt

#80
by OFT - opened

Hi,

I am writing a JSON to send information to the Huggingface API (like kinda using the model card here).
It works great if I only send the input/prompt, but is it also possible to send info like negative_prompt and height?

I have tried several variations but it doesnt seem to work. Does anyone here have a solution to this problem?

I am thinking it might not be coded? and if so, to which file do I need to add custom code to be able to make this work?

Many thanks!

hi @OFT we're working on it https://github.com/huggingface/api-inference-community/issues/185. I'll ping back when it's in production

Hi @radames

Thanks for the head up! I really appreciate it!

Sign up or log in to comment