Alternative to curl

Once an API key is obtained, the MakerSpace website suggests using curl (below) to obtain completions. I was wondering if someone had coded up a friendlier user experience – perhaps with the three boxes to fill in (priming, question, decorator) and a nicely rendered version of the markdown completion result?
-H ‘Content-Type: application/json’
-d ‘{ “prompt”: { “text”: “Write a story about a magic backpack”} }’

Hi John,

I’m working on this as we speak!

My suggestion would be to take a look at Gradio (there is a course here on that).

1 Like